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 in the Chat console when creating the application. |
CallbackCommand | Fixed value: Group.CallbackAfterModifyMsg. |
contenttype | Request body is always json. |
ClientIP | Client IP address, e.g., 127.0.0.1. |
OptPlatform | Client platform. See Third-Party Webhook Introduction: Webhook Protocol for details on OptPlatform parameters. |
{"MsgBody": [{"MsgType": "TIMTextElem","MsgContent": {"Text": "2026-03-06T02:09:35.302Z"}}],"CallbackCommand": "Group.CallbackAfterModifyMsg","Operator_Account": "oper-user","GroupId": "group-test-2","TopicId": "","MsgSeq": 53,"EventTime": 1772762975589}
Field | Type | Description |
MsgBody | Array | Message content. For details on formatting, see Message Format Description. Note: A single message may contain multiple elements; MsgBody is an array. |
CallbackCommand | String | Webhook command. |
Operator_Account | String | UserID of the user who modified the message. |
GroupId | String | ID of the group where the message was edited. |
TopicId | String | Topic ID. If present, indicates the message modification applies to a historical message within the specified topic. This option is only supported for community topics. |
MsgSeq | Integer | Sequence number of the message being modified. |
EventTime | Integer | Timestamp (in milliseconds) when the event occurred. |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // 0 means webhook succeeded, 1 means webhook failed}
Field | Type | Required | Description |
ActionStatus | String | Required | Result of request processing: OK: indicates success. FAIL: indicates failure. |
ErrorCode | Integer | Required | Error code: 0: webhook succeeded. 1: webhook failed. |
ErrorInfo | String | Required | Error message. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários