Class GiftPayForward
java.lang.Object
com.github.twitch4j.eventsub.domain.chat.GiftPayForward
Metadata for when a user (who has a gifted sub) gifts a sub to another user.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe user ID of the user who originally gifted the subscription.The user login of the user who originally gifted the subscription.The user name of the user who originally gifted the subscription.The user id of the recipient of the paid-forward gift sub.The user login of the recipient of the paid-forward gift sub.The user name of the recipient of the paid-forward gift sub.inthashCode()toString()Whether the gift was given anonymously.
-
Constructor Details
-
GiftPayForward
public GiftPayForward()
-
-
Method Details
-
wasGifterAnonymous
Whether the gift was given anonymously. -
getGifterUserId
The user ID of the user who originally gifted the subscription. Null if anonymous. -
getGifterUserName
The user name of the user who originally gifted the subscription. Null if anonymous. -
getGifterUserLogin
The user login of the user who originally gifted the subscription. Null if anonymous. -
getRecipientUserId
The user id of the recipient of the paid-forward gift sub. Null if gifted to the broad community, rather than a specific target. -
getRecipientUserName
The user name of the recipient of the paid-forward gift sub. Null if gifted to the broad community, rather than a specific target. -
getRecipientUserLogin
The user login of the recipient of the paid-forward gift sub. Null if gifted to the broad community, rather than a specific target. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-