leaveGroup

fun leaveGroup(channel: Channel)

Leaves a channel, after the user chooses the leave ChannelAction. It also removes the activeChannelAction, to remove the dialog from the UI.

Parameters

channel

The channel to leave.