Class ChannelChatNotificationEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@Nullable AnnouncementInformation about the announcement event.The user's visible badges in the chat room.@Nullable BitsBadgeInformation about the bits badge tier event.@Nullable CharityDonationInformation about the charity donation event.getColor()The color of the user's name in the chat room.@Nullable CommunitySubGiftInformation about the community gift sub event.@Nullable GiftPaidUpgradeInformation about the community gift paid upgrade event.The structured chat message.A UUID that identifies the message.The type of notice.@Nullable GiftPayForwardInformation about the pay it forward event.@Nullable Set<CommandPermission>@Nullable PrimePaidUpgradeInformation about the Prime gift paid upgrade event.@Nullable RaidgetRaid()Information about the raid event.@Nullable ResubscriptiongetResub()Information about the resub event.@Nullable AnnouncementInformation about the announcement event.@Nullable CommunitySubGiftInformation about the community gift sub event.@Nullable GiftPaidUpgradeInformation about the community gift paid upgrade event.@Nullable GiftPayForwardInformation about the pay it forward event.@Nullable PrimePaidUpgradeInformation about the Prime gift paid upgrade event.@Nullable RaidInformation about the raid event.@Nullable ResubscriptionInformation about the resub event.@Nullable SubscriptionInformation about the sub event.@Nullable SubGiftInformation about the gift sub event.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.@Nullable SubscriptiongetSub()Information about the sub event.@Nullable SubGiftInformation about the gift sub event.The message Twitch shows in the chat room for this notice.@Nullable UnraidInformation 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
-