Discore
Show / Hide Table of Contents

Method SetBitrate

| Improve this Doc View Source

SetBitrate(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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX