cta群机器人
This commit is contained in:
@@ -103,8 +103,13 @@ class DingTalkBot:
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
webhook = "https://oapi.dingtalk.com/robot/send?access_token=fb70c1561d8beba94b4f11568f4bb15e3ae07ccbdc8ac19676434a9d1cd17546" # 填写你的webhook
|
||||
secret = "SEC1ae7cd2f1a6f9da3611af37da3e7d954c1e8533fc073c6c8cc5e5af3b6e5926b" # 填写你的加签token(如果有),否则留空
|
||||
|
||||
# CTA 群机器人
|
||||
# webhook = "https://oapi.dingtalk.com/robot/send?access_token=87c7abfcdd69b699c32da4e4f5981cd2ca6b0445474fc6ffb36f2ed0f6262fbb"
|
||||
# secret = "SECf3d6b43f2f8a87ab91feffd052e71ec314fbf57a1842e483fe07af3c0a0e5aa6"
|
||||
dingtalk = DingTalkBot(webhook, secret)
|
||||
dingtalk.send_text("测试消息")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user