import requestswecom_bot_webhook = ""msg_text = "" # 要发送的消息内容"""
mentioned_mobile_list : 手机号列表 , 提醒手机号对应的群成员(@某个成员)
"""
res = requests.post(wecom_bot_webhook,json={"msgtype": "text","text": {"content": msg_text, "mentioned_mobile_list": []},},
)print(f"消息状态: {res.json()}")
更多消息格式详情官网:https://developer.work.weixin.qq.com/document/path/91770