宜搭开发包
    正在准备搜索索引...

    链接消息推送服务

    发送包含链接的消息到钉钉,支持标题、文本、链接 URL 和图片 URL。

    示例:

    EZPush.Link.of("your_access_token")
    .post({
    title: "新版本发布",
    text: "点击查看详情",
    messageUrl: "https://example.com/release-notes",
    picUrl: "https://example.com/release-image.png", // 可选
    })

    层级 (查看层级一览)

    索引

    构造函数

    方法

    post

    • post(
          data: {
              messageUrl: string;
              picUrl?: string;
              text: string;
              title: string;
          },
      ): Promise<void>

      参数

      • data: { messageUrl: string; picUrl?: string; text: string; title: string }

        链接消息数据

      返回 Promise<void>