Class ChannelSubscribeEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubUserChannelEvent
com.github.twitch4j.eventsub.events.ChannelSubscribeEvent
-
Constructor Summary
-
Method Summary
Methods inherited from class com.github.twitch4j.eventsub.events.EventSubUserChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName, getUserId, getUserLogin, getUserName
-
Constructor Details
-
ChannelSubscribeEvent
public ChannelSubscribeEvent()
-
-
Method Details
-
getTier
The tier of the subscription.Prime is treated as 1000, at the time of writing.
-
isGift
Whether the subscription is a gift. -
toString
- Overrides:
toString
in classEventSubUserChannelEvent
-
equals
- Overrides:
equals
in classEventSubUserChannelEvent
-
canEqual
- Overrides:
canEqual
in classEventSubUserChannelEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classEventSubUserChannelEvent
-