https://www.example.com.https://www.example.com?SdkAppid=$SDKAppID&CallbackCommand=$CallbackCommand&contenttype=json&ClientIP=$ClientIP&OptPlatform=$OptPlatform
Parameter | Description |
https | The request protocol is HTTPS, and the request method is POST. |
www.example.com | Webhook URL. |
SDKAppID | SDKAppID assigned in the Chat console when creating the application. |
CallbackCommand | Fixed value: C2C.CallbackAfterMsgReadAll. |
contenttype | The request body is always JSON. |
ClientIP | Client IP address, e.g., 127.0.0.1. |
OptPlatform |
{"CallbackCommand": "C2C.CallbackAfterMsgReadAll","Report_Account": "Jonh","EventTime": 1769773302575,"GroupReadInfo": [{"GroupId": "groupid","MsgSeq": 100}]}
Field | Type | Description |
CallbackCommand | String | Webhook command. |
Report_Account | String | UserID of the request sender. |
EventTime | Integer | Event trigger timestamp in milliseconds. |
GroupReadInfo | Array | List of groups whose unread messages were cleared. |
GroupId | String | Group ID. |
MsgSeq | Integer | Group message sequence as provided in the clear unread request. |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // 0 indicates webhook success, 1 indicates webhook error}
Field | Type | Attribute | Description |
ActionStatus | String | Required | Result of request processing: OK: indicates success. FAIL: indicates failure. |
ErrorCode | Integer | Required | Error code: 0 indicates success. 1 indicates error. |
ErrorInfo | String | Required | Error message. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan