Class ChannelChatMessageEvent
-
Constructor Summary
Constructors -
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.The list of chat badges for the chatter in the channel the message was sent from.@Nullable String
The broadcaster user ID of the channel the message was sent from.@Nullable String
The login of the broadcaster of the channel the message was sent from.@Nullable String
The user name of the broadcaster of the channel the message was sent from.@Nullable String
The UUID that identifies the source message from the channel the message was sent from.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:
-
getSourceBroadcasterUserId
The broadcaster user ID of the channel the message was sent from.Is null when the message happens in the same channel as the broadcaster. Is not null when in a shared chat session, and the action happens in the channel of a participant other than the broadcaster.
-
getSourceBroadcasterUserName
The user name of the broadcaster of the channel the message was sent from.Is null when the message happens in the same channel as the broadcaster. Is not null when in a shared chat session, and the action happens in the channel of a participant other than the broadcaster.
-
getSourceBroadcasterUserLogin
The login of the broadcaster of the channel the message was sent from.Is null when the message happens in the same channel as the broadcaster. Is not null when in a shared chat session, and the action happens in the channel of a participant other than the broadcaster.
-
getSourceMessageId
The UUID that identifies the source message from the channel the message was sent from.Is null when the message happens in the same channel as the broadcaster. Is not null when in a shared chat session, and the action happens in the channel of a participant other than the broadcaster.
-
getSourceBadges
The list of chat badges for the chatter in the channel the message was sent from.Is null when the message happens in the same channel as the broadcaster. Is not null when in a shared chat session, and the action happens in the channel of a participant other than the broadcaster.
-
toString
- Overrides:
toString
in classChannelChatUserEvent
-
equals
- Overrides:
equals
in classChannelChatUserEvent
-
canEqual
- Overrides:
canEqual
in classChannelChatUserEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classChannelChatUserEvent
-