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.CallbackAfterTopicInfoChanged . |
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.CallbackAfterTopicInfoChanged", // Callback command"GroupId" : "@TGS#2J4SZEAEL", // Group ID of the changed topic profile"Type": "Community", // Group type"Operator_Account": "leckie", // Operator"Name": "TestTopic", // Changed topic name"Introduction": "TestIntroduction", // Changed topic introduction"Notification": "NewNotification", // Changed topic notice"FaceUrl": "http://this.is.face.url" // Changed topic profile photo URL}
Field | Type | Description |
CallbackCommand | String | Callback command |
GroupId | String | Group ID of the changed topic profile |
Type | String | Group type of the deleted topic. Here, it is Community . |
Operator_Account | String | UserID of the operator |
Name | String | Changed topic name |
Introduction | String | Changed topic introduction |
Notification | String | Changed topic notice |
FaceUrl | String | Changed topic profile photo URL |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // Ignore the response result}
Object | Type | Required | Description |
ActionStatus | String | Yes | Request result. Valid values: OK (success); FAIL : (failure). |
ErrorCode | Integer | Yes | Error code. The value 0 indicates to allow ignoring the response result. |
ErrorInfo | String | Yes | Error information |
この記事はお役に立ちましたか?