https://www.example.com 。https://www.example.com?SdkAppid=$SDKAppID&CallbackCommand=$CallbackCommand&contenttype=json&ClientIP=$ClientIP&OptPlatform=$OptPlatform
参数 | 说明 |
https | 请求协议为 HTTPS,请求方式为 POST。 |
www.example.com | 回调 URL。 |
SdkAppid | 创建应用时在即时通信 IM 控制台分配的 SDKAppID。 |
CallbackCommand | 固定为: Group.CallbackAfterModifyMsg。 |
contenttype | 请求包体固定为 json。 |
ClientIP | 客户端 IP,格式例如: 127.0.0.1。 |
OptPlatform |
{"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}
字段 | 类型 | 说明 |
MsgBody | Array | |
CallbackCommand | String | 回调命令。 |
Operator_Account | String | 消息修改发起方 UserID。 |
GroupId | String | 消息编辑的群 ID |
TopicId | String | 话题的 ID,若具有此选项表示修改的是对应话题中的历史消息,仅支持话题的社群适用此选项。 |
MsgSeq | Integer | 请求修改的消息 Seq。 |
EventTime | Integer | 事件触发的毫秒级别时间戳。 |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // 0为回调成功,1为回调出错}
字段 | 类型 | 属性 | 说明 |
ActionStatus | String | 必填 | 请求处理的结果: OK:表示处理成功。 FAIL:表示失败。 |
ErrorCode | Integer | 必填 | 错误码: 0:表示回调成功。 1:表示回调出错。 |
ErrorInfo | String | 必填 | 错误信息。 |
文档反馈