Class ChannelChatMessageEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe chatting user's visible badges.@Nullable StringAn ID for the type of animation selected as part of a "Message Effects" redemption.@Nullable StringThe ID of a channel points custom reward that was redeemed.@Nullable CheergetCheer()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 MessageTypeThe type of message.@Nullable ReplygetReply()Metadata if this message is a reply.The list of chat badges for the chatter in the channel the message was sent from.@Nullable StringThe broadcaster user ID of the channel the message was sent from.@Nullable StringThe login of the broadcaster of the channel the message was sent from.@Nullable StringThe user name of the broadcaster of the channel the message was sent from.@Nullable StringThe UUID that identifies the source message from the channel the message was sent from.inthashCode()toString()Methods inherited from class com.github.twitch4j.eventsub.events.ChannelChatUserEvent
getChatterUserId, getChatterUserLogin, getChatterUserNameMethods 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:
toStringin classChannelChatUserEvent
-
equals
- Overrides:
equalsin classChannelChatUserEvent
-
canEqual
- Overrides:
canEqualin classChannelChatUserEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classChannelChatUserEvent
-