Method SetBitrate
| Improve this Doc View SourceSetBitrate(int)
Sets the voice bitrate (if a voice channel).
Declaration
public CreateGuildChannelOptions SetBitrate(int bitrate)
Parameters
| Type | Name | Description |
|---|---|---|
| int | bitrate |
Returns
| Type | Description |
|---|---|
| CreateGuildChannelOptions |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown if this builder is not for a voice channel. |