Discore
Show / Hide Table of Contents

Class GuildNewsChannelOptions

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

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

Properties

Name Description
Name

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

Nsfw

Gets or sets whether this news 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 news channel (or null to leave unchanged).

Methods

Name Description
SetName(string)

Sets the name of the channel.

SetNsfw(bool)

Sets whether this news 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 news channel.

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