信息流卡片消息推送服务
发送包含多个链接项的消息到钉钉,每个链接项包含标题、消息 URL 和图片 URL。
示例:
EZPush.FeedCard.of("your_access_token") .post({ links: [ { title: "新闻标题一", messageURL: "https://example.com/news/1", picURL: "https://example.com/news/1.jpg", }, { title: "新闻标题二", messageURL: "https://example.com/news/2", picURL: "https://example.com/news/2.jpg", }, ], }) 复制
EZPush.FeedCard.of("your_access_token") .post({ links: [ { title: "新闻标题一", messageURL: "https://example.com/news/1", picURL: "https://example.com/news/1.jpg", }, { title: "新闻标题二", messageURL: "https://example.com/news/2", picURL: "https://example.com/news/2.jpg", }, ], })
信息流卡片消息数据
设置推送前的关键词校验
只有当推送内容包含该关键词时才会执行推送,默认为空(不校验)。
关键词字符串
设置转发域名
适用于内网环境或需要通过特定代理转发的场景,默认为 "to.ahkdxx.cn"。
转发域名字符串
静态
创建一个新的钉钉机器人推送服务实例
钉钉机器人 Webhook URL 中的 access_token 部分
信息流卡片消息推送服务
发送包含多个链接项的消息到钉钉,每个链接项包含标题、消息 URL 和图片 URL。
示例: