TsgcWSPClient_Presence › Methods › UnSubscribe
Removes the local member from the given channel.
procedure UnSubscribe(const aChannel: String);
| Name | Type | Description |
|---|---|---|
aChannel | const String | Name of the channel to leave. |
Sends a remove-channel-member request. After the server processes it the client no longer receives publications on the channel, and the remaining subscribers are notified through their OnRemoveChannelMember event.
oPresence.UnSubscribe('chat');