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
FieldsModifier and TypeFieldDescriptionstatic final intThe maximum length of a forum tag name (20) -
Method Summary
Modifier and TypeMethodDescriptiondefault intintThe tag position, used for sorting.default DataObjecttoData()SerializedDataObjectfor this object.Methods inherited from interface net.dv8tion.jda.api.entities.channel.forums.BaseForumTag
getEmoji, getName, isModeratedMethods 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:
compareToin interfaceComparable<ForumTag>
-
toData
Description copied from interface:SerializableDataSerializedDataObjectfor this object.- Specified by:
toDatain interfaceBaseForumTag- Specified by:
toDatain interfaceSerializableData- Returns:
DataObject
-