程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Python operates group robots to send pictures

編輯:Python
Problem and background

For help, Python drives the DingTalk group robot to send a picture link in Markdown format, and finds the same link, even if the picture corresponding to the link on the website has been replaced, after DingTalk receives the information, the old picture is still displayed.It's like there is a cache at the end of the DingTalk robot.If you change to a new link, Dingding will fetch the data again.

message = {
"msgtype": "markdown", # with text, "markdown", link, overall jumpActionCard, independent jump ActionCard, FeedCard type, etc.
"markdown": {
"title":"Delivery Progress",
"text": "#### Difference between actual shipment and target shipment aaa \n> As of today\n>

\n> ######Posted at 10:20https://www.dingtalk.com/ \n"
},

My solution ideas and tried methods

I tried to find a way to clear the DingTalk robot cache, but couldn't find it

My desired outcome

I hope Dingding will refresh the link every time I go to get the latest picture.


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved