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.CallbackAfterChangeOwner |
contenttype | The value is fixed as JSON. |
{"CallbackCommand":"Live.CallbackAfterChangeOwner","RoomId":"room_id","EventTime":1703589922780,"Operator_Account":"admin","CurrentOwner_Account": "user2","OriginalOwner_Account": "user1"}
Field | Type | Description |
CallbackCommand | String | Callback command. |
RoomId | String | room ID |
CurrentOwner_Account | String | new owner |
OriginalOwner_Account | String | original owner |
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