Table of Contents

Class ForumTagProperties

Namespace
Discord
Assembly
Discord.Net.Core.dll
public class ForumTagProperties : IForumTag
Inheritance
ForumTagProperties
Implements
Inherited Members
Extension Methods

Properties

Emoji

Gets the emoji of the tag or null if none is set.

public IEmote? Emoji { get; }

Property Value

IEmote

Remarks

If the emoji is Emote only the Id will be populated. Use GetEmoteAsync(ulong, RequestOptions) to get the emoji.

Id

Gets the Id of the tag.

public ulong? Id { get; }

Property Value

ulong?

IsModerated

Gets whether this tag can only be added to or removed from threads by a member with the ManageThreads permission

public bool IsModerated { get; }

Property Value

bool

Name

Gets the name of the tag.

public string Name { get; }

Property Value

string

Methods

Equals(ForumTagProperties?)

Gets whether supplied tag is equals to the current one.

public bool Equals(ForumTagProperties? tag)

Parameters

tag ForumTagProperties

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Operators

operator ==(ForumTagProperties?, ForumTagProperties?)

public static bool operator ==(ForumTagProperties? left, ForumTagProperties? right)

Parameters

left ForumTagProperties
right ForumTagProperties

Returns

bool

operator !=(ForumTagProperties?, ForumTagProperties?)

public static bool operator !=(ForumTagProperties? left, ForumTagProperties? right)

Parameters

left ForumTagProperties
right ForumTagProperties

Returns

bool