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
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
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
Name
Gets the name of the tag.
public string Name { get; }
Property Value
Methods
Equals(ForumTagProperties?)
Gets whether supplied tag is equals to the current one.
public bool Equals(ForumTagProperties? tag)
Parameters
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
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
ForumTagPropertiesright
ForumTagProperties
Returns
operator !=(ForumTagProperties?, ForumTagProperties?)
public static bool operator !=(ForumTagProperties? left, ForumTagProperties? right)
Parameters
left
ForumTagPropertiesright
ForumTagProperties