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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
@Nullable String
The user ID of the user who originally gifted the subscription.@Nullable String
The user login of the user who originally gifted the subscription.@Nullable String
The user name of the user who originally gifted the subscription.@Nullable String
The user id of the recipient of the paid-forward gift sub.@Nullable String
The user login of the recipient of the paid-forward gift sub.@Nullable String
The user name of the recipient of the paid-forward gift sub.int
hashCode()
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
-