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 creating the application in the Chat console |
CallbackCommand | Fixed value: C2C.CallbackAfterModifyMsg |
contenttype | Request body is always JSON |
ClientIP | Client IP address, e.g., 127.0.0.1 |
OptPlatform |
{"CloudCustomData": "1769772027","MsgBody": [{"MsgType": "TIMTextElem","MsgContent": {"Text": "2026-01-30T11:20:26.548Z"}}],"CallbackCommand": "C2C.CallbackAfterModifyMsg","Operator_Account": "jared","From_Account": "jared","To_Account": "Jonh","MsgRandom": 690,"MsgSeq": 609,"MsgTime": 1769771529,"MsgKey": "609_690_1769771529","ErrorInfo": "modify msg succeed","EventTime": 1769772027036}
Field | Type | Description |
CloudCustomData | String | Custom message data. Stored in the cloud, sent to the recipient, and retrievable after app uninstall/reinstall. |
MsgBody | Array | Message content. For details, see Message Format Description. A message may contain multiple elements; MsgBody is an Array. |
CallbackCommand | String | Webhook command. |
Operator_Account | String | UserID of the person who modified the message. |
From_Account | String | UserID of the original message sender. |
To_Account | String | UserID of the message recipient. |
MsgRandom | Integer | Message random number (32-bit unsigned integer). |
MsgSeq | Integer | Message sequence number (32-bit unsigned integer). |
MsgTime | Integer | Message timestamp (UNIX time). |
MsgKey | String | Unique message identifier. |
ErrorInfo | String | Error information. |
EventTime | Integer | Timestamp of the event in milliseconds. |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // 0 indicates webhook succeeded, 1 indicates webhook error}
Field | Type | Required | Description |
ActionStatus | String | Required | Result of request processing: OK indicates success.FAIL indicates failure. |
ErrorCode | Integer | Required | Error code: 0 indicates success. 1 indicates failure. |
ErrorInfo | String | Required | Error information. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan