Interface ForumTag
- All Superinterfaces:
BaseForumTag
,Comparable<ForumTag>
,ForumTagSnowflake
,ISnowflake
,SerializableData
Represents a Discord Forum Tag.
These tags can be applied to forum posts to help categorize them.
These tags can be applied to forum posts to help categorize them.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The maximum length of a forum tag name (20) -
Method Summary
Modifier and TypeMethodDescriptiondefault int
int
The tag position, used for sorting.default DataObject
toData()
SerializedDataObject
for this object.Methods inherited from interface net.dv8tion.jda.api.entities.channel.forums.BaseForumTag
getEmoji, getName, isModerated
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
-
Field Details
-
MAX_NAME_LENGTH
static final int MAX_NAME_LENGTHThe maximum length of a forum tag name (20)- See Also:
-
-
Method Details
-
getPosition
int getPosition()The tag position, used for sorting.- Returns:
- The tag position.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ForumTag>
-
toData
Description copied from interface:SerializableData
SerializedDataObject
for this object.- Specified by:
toData
in interfaceBaseForumTag
- Specified by:
toData
in interfaceSerializableData
- Returns:
DataObject
-