Shared Sub Gift

Triggered When a User Gifts a Subscription in a Shared Chat
EventSub

Variables

The following variables will be populated when this trigger executes:

Description
anonymousboolean

Returns whether or not the sub was gifted anonymously

cumulativeMonthsnumber

The amount of months the recipient has been subscribed to the channel

Example: 2
fromGiftBombboolean

Is this from a gift bomb?

monthsGiftednumber

The number of prepaid months that the user has gifted
1, 3, 6, 12

Example: 6
recipientIdstring

The recipient user's ID

recipientUserstring

The recipient user's display name

Example: TwitchUser123
recipientUserNamestring

The recipient user's login name

Example: twitchuser123
subBombCountnumber

The amount of gift subs in the gift bomb

tierstring

The subscription tier
prime, tier 1, tier 2, tier 3

Example: tier 1
totalSubsGiftednumber

The total amount of subscriptions that the user has gifted

Example: 24