ChatAppStatus
Receive MT message delivery receipts (ChatAppStatus) through Simple Message Queue (formerly MNS).
Prerequisites
You have an Alibaba Cloud account and an AccessKey pair. For more information, see Create an AccessKey.
You have reviewed the overview and configuration of message receipts and understand their modes, types, and configuration process. Then, configure the message receipts accordingly.
For the procedure of configuring MO messages, see Message receipts and configuration.
Message body format
Parameter | Type | Required | Description |
MessageId | String | Yes | Unique message identifier. |
From | String | Yes | Sender's phone number. |
To | String | Yes | Recipient's phone number. |
UserId | String | No | BSUID |
ParentUserId | String | No | Parent BSUID (if any) |
UserName | String | No | User account (if any) |
Timestamp | Long | Yes | Unix timestamp when the message was sent, in milliseconds. |
Status | String | Yes | Message delivery status. Valid values:
|
StatusDescription | String | Yes | Status description. |
ErrorCode | String | No | Error code for delivery failure. |
ErrorDescription | String | No | The description of the error code. For details, see API error codes. |
ConversationType | String | No | Conversation type. Valid values:
|
ConversationId | String | No | Unique conversation identifier. |
ConversationExpirationTime (deprecated) | Long | No | Conversation expiration time. Note Deprecated. Has no effect under the per-message billing model. |
MsgFrameType | String | Yes | Message type. Valid values:
|
Type | String | No | Media type of the message content. Valid values:
|
TaskId | String | No | Custom task ID. Note Defaults to |
OriginPhoneNumber | String | No | Original sender phone number. |
TemplateCode | String | No | Message template code. Note Available only when |