Klasse GiftedMultiMonthSubCourtesyEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.chat.events.TwitchEvent
com.github.twitch4j.chat.events.AbstractChannelEvent
com.github.twitch4j.chat.events.channel.GiftedMultiMonthSubCourtesyEvent
- Alle implementierten Schnittstellen:
com.github.philippheuer.events4j.api.domain.IEvent
This event occurs when a recipient of a multi-month gift sub
enters a new month of the subscription, and shares a
re-subscription message, despite no additional monetary
transaction accompanying their message.
Webchat shows these events with this accompanying text:
N month Gift Subscription courtesy of GIFTER_DISPLAY_NAME has entered month M.
The parameters specific to this event are not officially documented.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleanThe cumulative number of months the user has been subscribed to this channel.The user that originally gifted the multi-month gift subscription.The number of months that were originally gifted as part of the multi-month subscription.The user-specified message attached to this notification.Raw message event.The gift month that is being redeemed.The tier of the multi-month gifted subscription.getUser()The gift recipient that is sending this resub message.inthashCode()booleanWhether the original multi-month gift was done by an anonymous user.toString()Von Klasse geerbte Methoden com.github.twitch4j.chat.events.AbstractChannelEvent
ban, getChannel, timeout, unbanVon Klasse geerbte Methoden com.github.twitch4j.chat.events.TwitchEvent
getTwitchChatVon Klasse geerbte Methoden com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator
-
Konstruktordetails
-
GiftedMultiMonthSubCourtesyEvent
Event Constructor- Parameter:
event- the raw message event
-
-
Methodendetails
-
getMessageEvent
Raw message event. -
getUser
The gift recipient that is sending this resub message. -
getMessage
The user-specified message attached to this notification. -
getSubscriptionPlan
The tier of the multi-month gifted subscription. -
isWasAnonymous
public boolean isWasAnonymous()Whether the original multi-month gift was done by an anonymous user. -
getGifter
The user that originally gifted the multi-month gift subscription. -
getGiftMonths
The number of months that were originally gifted as part of the multi-month subscription. -
getRedeemedMonth
The gift month that is being redeemed. -
getCumulativeMonths
The cumulative number of months the user has been subscribed to this channel. -
toString
- Setzt außer Kraft:
toStringin KlasseAbstractChannelEvent
-
equals
- Setzt außer Kraft:
equalsin KlasseAbstractChannelEvent
-
canEqual
- Setzt außer Kraft:
canEqualin KlasseAbstractChannelEvent
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCodein KlasseAbstractChannelEvent
-