Class GuildVoiceChannelOptions
An optional set of parameters for modifying a guild voice channel.
Inherited Members
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class GuildVoiceChannelOptions
Properties
| Name | Description |
|---|---|
| Bitrate | Gets or sets the bitrate of the voice channel (or null to leave unchanged). |
| Name | Gets or sets the name of the channel (or null to leave unchanged). |
| ParentId | Gets or sets the ID of the parent category channel (or null to leave unchanged). Note: Set to None to clear the parent ID. |
| PermissionOverwrites | Gets or sets the list of permission overwrites (or null to leave unchanged). |
| Position | Gets or sets the sorting position of the channel (or null to leave unchanged). |
| UserLimit | Gets or sets the user limit of the voice channel (or null to leave unchanged). Set to zero to remove the user limit. |
Methods
| Name | Description |
|---|---|
| SetBitrate(int) | Sets the bitrate of the voice channel. |
| SetName(string) | Sets the name of the channel. |
| SetParentId(Snowflake) | Sets the ID of the parent category channel. |
| SetPermissionOverwrites(IList<OverwriteOptions>) | Sets the list of permission overwrites. |
| SetPosition(int) | Sets the sorting position of the channel. |
| SetUserLimit(int) | Sets the user limit of the voice channel. |