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
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.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. -
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
-