Table of Contents

Class ForumTag

Namespace
NetCord
Assembly
NetCord.dll

Represents a tag that can be applied to a ForumGuildThread.

public class ForumTag : Entity, IEntity, ISpanFormattable, IFormattable, IEquatable<Entity>, IJsonModel<JsonForumTag>
Inheritance
ForumTag
Implements
Inherited Members

Constructors

ForumTag(JsonForumTag)

Represents a tag that can be applied to a ForumGuildThread.

public ForumTag(JsonForumTag jsonModel)

Parameters

jsonModel JsonForumTag

Properties

EmojiId

The ID of the custom emoji to use for the tag.

public ulong? EmojiId { get; }

Property Value

ulong?

Remarks

Cannot be set alongside EmojiName.

EmojiName

The unicode emoji to use for the tag.

public string? EmojiName { get; }

Property Value

string

Remarks

Cannot be set alongside EmojiId.

Id

The ID of the tag.

public override ulong Id { get; }

Property Value

ulong

Moderated

Whether this tag can only be added/removed using the ManageThreads permission.

public bool Moderated { get; }

Property Value

bool

Name

The name of the tag, between 0 and 20 characters.

public string Name { get; }

Property Value

string