Class ChannelChatNotificationEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanInformation about the announcement event.The user's visible badges in the chat room.Information about the bits badge tier event.Information about the charity donation event.getColor()The color of the user's name in the chat room.Information about the community gift sub event.Information about the community gift paid upgrade event.The structured chat message.A UUID that identifies the message.The type of notice.Information about the pay it forward event.Information about the Prime gift paid upgrade event.getRaid()Information about the raid event.getResub()Information about the resub event.Information about the announcement event.Information about the community gift sub event.Information about the community gift paid upgrade event.Information about the pay it forward event.Information about the Prime gift paid upgrade event.Information about the raid event.Information about the resub event.Information about the sub event.Information about the gift sub event.The list of chat badges for the chatter in the channel the message was sent from.The broadcaster user ID of the channel the message was sent from.The login of the broadcaster of the channel the message was sent from.The user name of the broadcaster of the channel the message was sent from.The UUID that identifies the source message from the channel the message was sent from.getSub()Information about the sub event.Information about the gift sub event.The message Twitch shows in the chat room for this notice.Information about the unraid event.inthashCode()Whether the chatter is anonymous.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
-
ChannelChatNotificationEvent
public ChannelChatNotificationEvent()
-
-
Method Details
-
getPermissions
- Returns:
getBadges()asCommandPermission, ifgetBadges()is not null.
-
isChatterAnonymous
Whether the chatter is anonymous. -
getColor
The color of the user's name in the chat room. -
getBadges
The user's visible badges in the chat room. -
getSystemMessage
The message Twitch shows in the chat room for this notice. -
getMessageId
A UUID that identifies the message. -
getMessage
The structured chat message. -
getNoticeType
The type of notice. -
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.
-
getSub
Information about the sub event. Null ifgetNoticeType()is notNoticeType.SUB. -
getResub
Information about the resub event. Null ifgetNoticeType()is notNoticeType.RESUB. -
getSubGift
Information about the gift sub event. Null ifgetNoticeType()is notNoticeType.SUB_GIFT. -
getCommunitySubGift
Information about the community gift sub event. Null ifgetNoticeType()is notNoticeType.COMMUNITY_SUB_GIFT. -
getGiftPaidUpgrade
Information about the community gift paid upgrade event. Null ifgetNoticeType()is notNoticeType.GIFT_PAID_UPGRADE. -
getPrimePaidUpgrade
Information about the Prime gift paid upgrade event. Null ifgetNoticeType()is notNoticeType.PRIME_PAID_UPGRADE. -
getRaid
Information about the raid event. Null ifgetNoticeType()is notNoticeType.RAID. -
getUnraid
Information about the unraid event. Null ifgetNoticeType()is notNoticeType.UNRAID. -
getPayItForward
Information about the pay it forward event. Null ifgetNoticeType()is notNoticeType.PAY_IT_FORWARD. -
getAnnouncement
Information about the announcement event. Null ifgetNoticeType()is notNoticeType.ANNOUNCEMENT. -
getCharityDonation
Information about the charity donation event. Null ifgetNoticeType()is notNoticeType.CHARITY_DONATION. -
getBitsBadgeTier
Information about the bits badge tier event. Null ifgetNoticeType()is notNoticeType.BITS_BADGE_TIER. -
toString
- Overrides:
toStringin classChannelChatUserEvent
-
equals
- Overrides:
equalsin classChannelChatUserEvent
-
canEqual
- Overrides:
canEqualin classChannelChatUserEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classChannelChatUserEvent
-