Send text, image, video, audio, document, sticker, and template messages to customers through the Chat App API.
Prerequisites
To send template messages, first Create a Chat App template.
Procedure
Send a message - SendChatappMessage
Send a single Chat App message.
API documentation
Example
Sample success response (in JSON format):
{
"RequestId": "90E63D28-E31D-1EB2-8939-A948664****",
"Code": "OK",
"Message": "User not authorized to operate on the specified resource.",
"MessageId": "61851ccb2f1365b16aee****"
}
Send messages in a batch - SendChatappMassMessage
Send Chat App messages in a batch.
API documentation
Send Chat App messages in a batch
Example
Sample success response (in JSON format):
{
"RequestId": "90E63D28-E31D-1EB2-8939-A9486641****",
"Code": "OK",
"Message": "User not authorized to operate on the specified resource.",
"GroupMessageId": "890000010002****"
}
该文章对您有帮助吗?