Class ChannelChatNotificationEvent
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.ChannelChatNotificationEvent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
@Nullable Announcement
Information about the announcement event.The user's visible badges in the chat room.@Nullable BitsBadge
Information about the bits badge tier event.@Nullable CharityDonation
Information about the charity donation event.getColor()
The color of the user's name in the chat room.@Nullable CommunitySubGift
Information about the community gift sub event.@Nullable GiftPaidUpgrade
Information about the community gift paid upgrade event.The structured chat message.A UUID that identifies the message.The type of notice.@Nullable GiftPayForward
Information about the pay it forward event.@Nullable Set<CommandPermission>
@Nullable PrimePaidUpgrade
Information about the Prime gift paid upgrade event.@Nullable Raid
getRaid()
Information about the raid event.@Nullable Resubscription
getResub()
Information about the resub event.@Nullable Subscription
getSub()
Information about the sub event.@Nullable SubGift
Information about the gift sub event.The message Twitch shows in the chat room for this notice.@Nullable Unraid
Information about the unraid event.int
hashCode()
Whether the chatter is anonymous.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
-
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. -
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:
toString
in classChannelChatUserEvent
-
equals
- Overrides:
equals
in classChannelChatUserEvent
-
canEqual
- Overrides:
canEqual
in classChannelChatUserEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classChannelChatUserEvent
-