Discore
Show / Hide Table of Contents

Class GuildVoiceChannelOptions

An optional set of parameters for modifying a guild voice channel.

Inheritance
object
GuildVoiceChannelOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

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