from dingtalkchatbot.chatbot import DingtalkChatbot def send_message_mobiles(message,dingtalk,mobiles): webhook = dingtalk xiaoding = DingtalkChatbot(webhook) xiaoding.send_text(msg=message,at_mobiles=[mobiles],is_auto_at=False) return def send_message(message,dingtalk): webhook = dingtalk xiaoding = DingtalkChatbot(webhook) xiaoding.send_text(msg=message) return def send_message_markdown(title,text,dingtalk): webhook = dingtalk xiaoding = DingtalkChatbot(webhook) xiaoding.send_markdown(title=title,text=text) return