Commit f396df46 authored by 王志伟's avatar 王志伟

增加机器人提醒任务

No related merge requests found
...@@ -14,11 +14,11 @@ def dingding_robot(data): ...@@ -14,11 +14,11 @@ def dingding_robot(data):
if __name__ == "__main__": if __name__ == "__main__":
# 请求参数 可以写入配置文件中 # 请求参数 可以写入配置文件中
data = { data = {
"msgtype": "link", "msgtype": "text",
"link": { "text": {
"text": "群机器人是钉钉群的高级扩展功能。群机器人可以将第三方服务的信息聚合到群聊中,实现自动化的信息同步。", "text": "群机器人是钉钉群的高级扩展功能。群机器人可以将第三方服务的信息聚合到群聊中,实现自动化的信息同步。",
"title": "自定义机器人", "title": "自定义机器人"
"picUrl": "", # "picUrl": "",
# "messageUrl": "https://www.baidu.com/" # "messageUrl": "https://www.baidu.com/"
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment