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.CallbackAfterTopicDestroyed . |
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.CallbackAfterTopicDestroyed", // Callback command"GroupId": "@TGS#_@TGS#cQVLVHIM62CJ", // Group ID of the deleted topic"Type": "Community", // Group type"TopicIdList":[ // List of the deleted topics"@TGS#_@TGS#cQVLVHIM62CJ@TOPIC#_TestTopic","@TGS#_@TGS#cQVLVHIM62CJ@TOPIC#_TestTopic_1"]}
Object | Type | Description |
CallbackCommand | String | Callback command |
GroupId | String | Group of the deleted topic |
Type | String | Group type of the deleted topic. Here, it is Community . |
TopicIdList | String | List of the deleted topics |
{"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?