Discore
Show / Hide Table of Contents

Class CreateGuildChannelOptions

A set of parameters for creating a new text or voice guild channel.

Inheritance
object
CreateGuildChannelOptions
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 CreateGuildChannelOptions

Constructors

Name Description
CreateGuildChannelOptions(DiscordChannelType)

Properties

Name Description
Bitrate

Gets or sets the voice bitrate (if a voice channel).

Name

Gets or sets the channel name.

Nsfw

Gets or sets whether this channel is NSFW (not-safe-for-work) (if a text channel).

ParentId

Gets or sets the parent category channel ID (if a text or voice channel).

PermissionOverwrites

Gets or sets a list of permission overwrites.

Topic

Gets or sets the topic (if a text channel).

Type

Gets the type of guild channel.

UserLimit

Gets or sets the user limit (if a voice channel).

Methods

Name Description
AddPermissionOverwrite(OverwriteOptions)

Adds a permission overwrite to the channel.

SetBitrate(int)

Sets the voice bitrate (if a voice channel).

SetName(string)

Sets the channel name.

SetNsfw(bool)

Sets whether this channel is NSFW (not-safe-for-work) (if a text channel).

SetTopic(string)

Sets the topic (if a text channel).

SetUserLimit(int)

Sets the user limit (if a voice channel).

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