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

    信息流卡片消息推送服务

    发送包含多个链接项的消息到钉钉,每个链接项包含标题、消息 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",
    },
    ],
    })

    层级 (查看层级一览)

    索引

    构造函数

    方法

    post

    • post(
          data: { links: { messageURL: string; picURL: string; title: string }[] },
      ): Promise<void>

      参数

      • data: { links: { messageURL: string; picURL: string; title: string }[] }

        信息流卡片消息数据

      返回 Promise<void>