文档

消息发送

更新时间:

本文为您介绍如何向客户发送文本消息、图像、视频、音频、文档以及贴图消息及模板消息。

前提条件

在发送模板消息前请先创建消息模板。请参见创建ChatApp模板

操作流程

发送消息-SendChatappMessage

发送单条ChatApp消息时调用此接口。

接口文档

SendChatappMessage - 发送ChatApp消息

示例

正常返回示例(JSON格式):

{
  "RequestId": "90E63D28-E31D-1EB2-8939-A948664****",
  "Code": "OK",
  "Message": "User not authorized to operate on the specified resource.",
  "MessageId": "61851ccb2f1365b16aee****"
}

批量发送消息-SendChatappMassMessage

批量发送ChatApp消息时调用此接口。

接口文档

SendChatappMassMessage - 批量发送ChatApp消息

示例

正常返回示例(JSON格式):

{
  "RequestId": "90E63D28-E31D-1EB2-8939-A9486641****",
  "Code": "OK",
  "Message": "User not authorized to operate on the specified resource.",
  "GroupMessageId": "890000010002****"
}

  • 本页导读 (1)
文档反馈