https://www.example.com.https://www.example.com?SdkAppid=$SDKAppID&CallbackCommand=$CallbackCommand&contenttype=json
Parameter | Description |
https | The request protocol is HTTPS, and the request method is POST. |
www.example.com | Callback URL |
SdkAppid | The SDKAppID assigned in the Chat console when creating an application |
CallbackCommand | Fixed as Live.CallbackAfterModifyAdmin |
contenttype | The value is fixed as JSON. |
{"CallbackCommand":"Live.CallbackAfterModifyAdmin","RoomId":"room_id","EventTime":1703589922780,"Operator_Account":"admin","Admin_Account": ["user1", "user2"],"opType": "add"}
Field | Type | Description |
CallbackCommand | String | Callback command |
RoomId | String | room ID |
Admin_Account | Array | Modified Administrator List |
opType | String | Operation type, add means add administrator, delete means delete management |
Operator_Account | String | Operator |
EventTime | Interger | Event trigger timestamp, in milliseconds. |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // Ignore the callback result}
Field | Type | Attribute | Description |
ActionStatus | String | Required | Request processing result. OK: processing successful; FAIL: processing failed. |
ErrorCode | Integer | Required | Error code. Fill in 0 here to ignore the callback result. |
ErrorInfo | String | Required | Error Message |
Feedback