SysChannelDisconnect
Disconnect from a chat channel.
| Service | Operation |
|---|---|
| chat | SYS_CHANNEL_DISCONNECT |
Method Parameters
| Parameter | Description |
|---|---|
| channelId | The channel id to connect to. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
var channelId = "55555:sy:mysyschannel";
var chatProxy = bridge.getChatServiceProxy();
var postResult = chatProxy.SysChannelDisconnect(channelId);
{
"service":"chat",
"operation":"SYS_CHANNEL_DISCONNECT",
"data":{
"channelId":"55555:sy:mysyschannel"
}
}
JSON Response
{
"status": 200
}