https://www.example.com.https://www.example.com?SdkAppid=$SDKAppID&CallbackCommand=$CallbackCommand&contenttype=json&ClientIP=$ClientIP&OptPlatform=$OptPlatform
Parameter | Description |
https | Request protocol is HTTPS; request method is POST. |
www.example.com | Webhook URL. |
SdkAppid | SDKAppID assigned when the application is created in the Chat Console. |
CallbackCommand | Fixed value: C2C.CallbackAfterMsgReadReceipt. |
contenttype | Request body format is always JSON. |
ClientIP | Client IP address (format: 127.0.0.1). |
OptPlatform | Client platform. For details, see Third-Party Webhook Overview: Webhook Protocol, OptPlatform section. |
{"CallbackCommand": "C2C.CallbackAfterMsgReadReceipt", // Webhook command"Operator_Account": "jared", // Sender of the Message Read Receipt"Peer_Account": "Jonh", // Conversation peer"C2CMsgInfo": [{"From_Account": "Jonh","To_Account": "jared","MsgKey": "33973751_24064952_1769139583","MsgId": "144115433090395387-1769139578-24064952"}],"EventTime": 1769139587754 // Timestamp when Message Read Receipt was sent}
Field | Type | Description |
CallbackCommand | String | Webhook command. |
Operator_Account | String | UserID of the Message Read Receipt sender. |
Peer_Account | String | UserID of the conversation peer. |
EventTime | Integer | Timestamp when the Message Read Receipt was sent. |
MsgKey | String | MsgKey of the message. |
MsgId | String | MsgId of the message. |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // 0 indicates webhook succeeded; 1 indicates webhook error}
Field | Type | Required | Description |
ActionStatus | String | Required | Result of request: OK indicates success. FAIL indicates failure. |
ErrorCode | Integer | Required | Error code: 0 means success. 1 means means there is an error. |
ErrorInfo | String | Required | Error message. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan