Discore
Show / Hide Table of Contents

Class GuildTextChannelOptions

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

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

Properties

Name Description
Name

Gets or sets the name of the channel (or null to leave unchanged).

Nsfw

Gets or sets whether this text channel is NSFW (not-safe-for-work) (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).

Topic

Gets or sets the topic of the text channel (or null to leave unchanged).

Methods

Name Description
SetName(string?)

Sets the name of the channel.

SetNsfw(bool)

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

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.

SetTopic(string)

Sets the topic of the text channel.

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