Class ChannelChatMessageEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubChannelEvent
com.github.twitch4j.eventsub.events.ChannelChatUserEvent
com.github.twitch4j.eventsub.events.ChannelChatMessageEvent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The chatting user's visible badges.@Nullable String
An ID for the type of animation selected as part of a "Message Effects" redemption.@Nullable String
The ID of a channel points custom reward that was redeemed.@Nullable Cheer
getCheer()
Metadata if this message is a cheer.getColor()
The color of the user’s name in the chat room.The structured chat message.A UUID that identifies the message.@NotNull MessageType
The type of message.@Nullable Reply
getReply()
Metadata if this message is a reply.int
hashCode()
toString()
Methods inherited from class com.github.twitch4j.eventsub.events.ChannelChatUserEvent
getChatterUserId, getChatterUserLogin, getChatterUserName
Methods inherited from class com.github.twitch4j.eventsub.events.EventSubChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName
-
Constructor Details
-
ChannelChatMessageEvent
public ChannelChatMessageEvent()
-
-
Method Details
-
getMessageId
A UUID that identifies the message. -
getMessage
The structured chat message. -
getColor
The color of the user’s name in the chat room. This is a hexadecimal RGB color code with a "#" prefix. This tag may be empty if it is never set. -
getBadges
The chatting user's visible badges. -
getMessageType
The type of message. -
getCheer
Metadata if this message is a cheer. -
getReply
Metadata if this message is a reply. -
getChannelPointsCustomRewardId
The ID of a channel points custom reward that was redeemed. -
getChannelPointsAnimationId
An ID for the type of animation selected as part of a "Message Effects" redemption.- See Also:
-
toString
- Overrides:
toString
in classChannelChatUserEvent
-
equals
- Overrides:
equals
in classChannelChatUserEvent
-
canEqual
- Overrides:
canEqual
in classChannelChatUserEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classChannelChatUserEvent
-