钉钉机器人消息推送工具集。
本模块封装钉钉 Webhook 机器人的消息推送能力,支持文本、链接、Markdown、 动作卡片与信息流卡片等标准消息类型。通过链式调用即可快速完成消息推送, 并提供关键词校验、转发域名配置、异常捕获与日志输出等辅助机制。
所有消息类型均继承自 EZPush.DingtalkMessagePushingBot, 并复用其 of 工厂方法与 post 推送逻辑。
of
post
26.7.1
https://open.dingtalk.com/document/development/robot-message-type
EZPush.Text.of("your_access_token") .withPrecheckKeyword("重要") .withTransferDomain("to.example.com") .post("这是一条重要通知。") 复制
EZPush.Text.of("your_access_token") .withPrecheckKeyword("重要") .withTransferDomain("to.example.com") .post("这是一条重要通知。")
动作卡片消息推送服务。
钉钉消息推送机器人基类。
信息流卡片消息推送服务。
链接消息推送服务。
Markdown 消息推送服务。
文本消息推送服务。
钉钉机器人消息类型官方参考文档地址。
钉钉机器人消息推送工具集。
本模块封装钉钉 Webhook 机器人的消息推送能力,支持文本、链接、Markdown、 动作卡片与信息流卡片等标准消息类型。通过链式调用即可快速完成消息推送, 并提供关键词校验、转发域名配置、异常捕获与日志输出等辅助机制。
所有消息类型均继承自 EZPush.DingtalkMessagePushingBot, 并复用其
of工厂方法与post推送逻辑。添加于
26.7.1
参阅
https://open.dingtalk.com/document/development/robot-message-type
示例