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
jsonModelJsonForumTag
Properties
EmojiId
The ID of the custom emoji to use for the tag.
public ulong? EmojiId { get; }
Property Value
Remarks
Cannot be set alongside EmojiName.
EmojiName
The unicode emoji to use for the tag.
public string? EmojiName { get; }
Property Value
Remarks
Cannot be set alongside EmojiId.
Id
The ID of the tag.
public override ulong Id { get; }
Property Value
Moderated
Whether this tag can only be added/removed using the ManageThreads permission.
public bool Moderated { get; }
Property Value
Name
The name of the tag, between 0 and 20 characters.
public string Name { get; }