Class CommunitySubGift
java.lang.Object
com.github.twitch4j.eventsub.domain.chat.CommunitySubGift
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
@Nullable Integer
The amount of gifts the gifter has given in this channel.getId()
The ID of the associated community gift.The type of subscription plan being used.getTotal()
Number of subscriptions being gifted.int
hashCode()
toString()
-
Constructor Details
-
CommunitySubGift
public CommunitySubGift()
-
-
Method Details
-
getId
The ID of the associated community gift.- See Also:
-
getTotal
Number of subscriptions being gifted. -
getSubTier
The type of subscription plan being used.Cannot be
SubscriptionPlan.TWITCH_PRIME
. -
getCumulativeTotal
The amount of gifts the gifter has given in this channel. Null if anonymous. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-