Enum Class MessageType
- All Implemented Interfaces:
Serializable
,Comparable<MessageType>
,Constable
EventSub equivalent of the
msg-id
IRC tag.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionChannel points were used to highlight the chat message.Channel points were used to send this message in sub-only mode.An unrecognized message type; please report to our issue tracker.Bits were used to send a gigantic emote in chat.Bits were used to animate the chat message.A normal chat message.The user designated this message as their introduction to the community. -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageType
Returns the enum constant of this class with the specified name.static MessageType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TEXT
A normal chat message. -
CHANNEL_POINTS_HIGHLIGHTED
Channel points were used to highlight the chat message. -
CHANNEL_POINTS_SUB_ONLY
Channel points were used to send this message in sub-only mode. -
USER_INTRO
The user designated this message as their introduction to the community.- See Also:
-
POWER_UPS_MESSAGE_EFFECT
Bits were used to animate the chat message. -
POWER_UPS_GIGANTIFIED_EMOTE
Bits were used to send a gigantic emote in chat. -
OTHER
An unrecognized message type; please report to our issue tracker.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-