Method LeaveChannelAsync
LeaveChannelAsync(string)
Leaves a specific channel, removing the user from text and voice for that channel.
Declaration
Task LeaveChannelAsync(string channelName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | channelName | The unique identifier of the channel that should be left |
Returns
| Type | Description |
|---|---|
| Task | Task for the operation |