Core
Guides v2.x
2

leaveChannel #

Informs the protocol that one of its connected users left a channel.


Arguments #

leaveChannel(channel, connectionId);

ArgumentsTypeDescription
channel
string
Left channel identifier
connectionId
string
Connection unique identifier, previously registered by the protocol using newConnection

Return #

The leaveChannel function is not expected to return a value.