leaveChannel

fun leaveChannel(channel: Channel)

Removes the current user from the channel.

Parameters

channel

The channel that the current user will leave.