SDKAppID
contained in the request URL is the SDKAppID
of the app.https://www.example.com
.
Example: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 | Callback URL |
SdkAppid | The SDKAppID assigned by the IM console when the app is created |
CallbackCommand | Fixed value: Group.CallbackAfterGroupDestroyed . |
contenttype | Fixed value: JSON . |
ClientIP | Client IP, such as 127.0.0.1 |
OptPlatform | Client platform. For valid values, see the description of OptPlatform in the Callback Protocols section of Third-Party Callback Overview. |
{"CallbackCommand": "Group.CallbackAfterGroupDestroyed", // Callback command"GroupId" : "@TGS#2J4SZEAEL","Type": "Public", // Group type"Owner_Account": "leckie", // Group owner"Name": "MyFirstGroup", // Group name"MemberList" : [ //Members of the group to be disbanded{"Member_Account": "leckie"},{"Member_Account": "peter"},{"Member_Account": "bob"}],"EventTime":"1670574414123"// Event trigger timestamp in milliseconds}
Field | Type | Description |
CallbackCommand | String | Callback command |
GroupId | String | ID of the group to be disbanded |
Type | String | |
Owner_Account | String | UserID of the group owner |
MemberList | Array | List of members of the group to be disbanded. This field will not be returned for communities. |
EventTime | Integer | Event trigger timestamp in milliseconds |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0}
Field | Type | Required | Description |
ActionStatus | String | Yes | Request result. OK : Successful; FAIL : Failed |
ErrorCode | Integer | Required | Error code. We recommend you set it to 0 . This callback is used to notify users of the topic deletion. The error code value of the user doesn't affect the deletion process. |
ErrorInfo | String | Yes | Error information |
Was this page helpful?