Class ChannelSubscriptionMessageEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubUserChannelEvent
com.github.twitch4j.eventsub.events.ChannelSubscriptionMessageEvent
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanThe total number of months the user has been subscribed to the channel.The month duration of the subscription.An object that contains the re-subscription message and emote information needed to recreate the message.@Nullable IntegerThe number of consecutive months the user’s current subscription has been active.getTier()The tier of the user’s subscription.inthashCode()toString()Methods inherited from class com.github.twitch4j.eventsub.events.EventSubUserChannelEventgetBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName, getUserId, getUserLogin, getUserName
- 
Constructor Details- 
ChannelSubscriptionMessageEventpublic ChannelSubscriptionMessageEvent()
 
- 
- 
Method Details- 
getTierThe tier of the user’s subscription.
- 
getMessageAn object that contains the re-subscription message and emote information needed to recreate the message.
- 
getCumulativeMonthsThe total number of months the user has been subscribed to the channel.
- 
getStreakMonthsThe number of consecutive months the user’s current subscription has been active. This value is null if the user has opted out of sharing this information.
- 
getDurationMonthsThe month duration of the subscription.
- 
toString- Overrides:
- toStringin class- EventSubUserChannelEvent
 
- 
equals- Overrides:
- equalsin class- EventSubUserChannelEvent
 
- 
canEqual- Overrides:
- canEqualin class- EventSubUserChannelEvent
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- EventSubUserChannelEvent
 
 
-