Shared Community Sub Gift

Triggered When a User Gifts Community Subscriptions in the Shared Chat
EventSub

Variables

NameTypeDescription
Example Value:false

Returns whether or not the sub was gifted anonymously

Example Value:3

The count of badges this user has

A C# accessible list of emotes used in the chat message

Example Value:200

The amount of bits donated

Example Value:true

A boolean value if Twitch adds additional subs to the Gift Bomb.

Example Value:false

Is the broadcaster an affiliate?

Example Value:true

Is the broadcaster a partner?

Example Value:TwitchUser123

The Twitch display name of the broadcaster account

Example Value:a126e8a8-43f7-4a14-8990-e8c3feea76d8

The Twitch user ID of the broadcaster account

Example Value:twitchuser123

The Twitch user name of the broadcaster account

Example Value:#e5e5e5

Hex value of the user's chat color

Example Value:229

The blue in RGB of the user's chat color

Example Value:229

The green in RGB of the user's chat color

Example Value:229

The red in RGB of the user's chat color

Example Value:0

Number of emotes in the chat message

A C# accessible list of emotes used in the chat message

Example Value:true

Is this user a first time chatter?

Whether or not the message originated from a different broadcaster in shared chat

Example Value:6

The number of subscriptions in this gift bomb

The # word of the message entered, spaces are delimiters and variable names are 0 indexed, so input0 would give the first word, input1 would give the second, and so on

The indexed word escaped

The indexed word URL encoded

Whether or not the broadcaster is currently in a shared chat

Example Value:True / False

If message was sent via Streamer.bot sub-action or C#

Example Value:true

Is this message a /me action?

Example Value:true

Is this message a Twitch Highlight?

Example Value:true

Is this user a moderator?

Example Value:true

Is this message a reply?

Example Value:true

Is this user subscribed?

Example Value:true

Is this user a VIP?

Example Value:Hello!

Text content of the chat message

Example Value:Hello!

The chat message with cheer emotes stripped.

Example Value:Hello!

The chat message with emotes stripped

Example Value:3

The amount of months the user is subscribed

Example Value:a126e8a8-43f7-4a14-8990-e8c3feea76d8

Twitch's message identifier

The message entered

The message escaped

The message URL encoded

Example Value:My\schat\smessage

The text content of the reply, Spaces are replaced by \s

Example Value:a126e8a8-43f7-4a14-8990-e8c3feea76d8

The message id of the reply

Example Value:a126e8a8-43f7-4a14-8990-e8c3feea76d8

The message id of the thread

Example Value:twitchuser123

The user login name of the thread

Example Value:718933593

The user id from the user who sent the reply

Example Value:twitchuser123

The user login from the user who sent the reply

Example Value:TwitchUser123

The user name from the user who sent the reply

Example Value:1

The role of the user
1=Viewer, 2=VIP, 3=Moderator, 4=Broadcaster

Example Value:true

Whether or not the source chat owner is a moderator in your channel

Example Value:false

Whether or not the source chat owner is subscribed in your channel

Example Value:false

Whether or not the source chat owner is a VIP in your channel

Example Value:123456789

The Twitch user ID from which chat the event originated

Example Value:twitchuser123

The Twitch user login name from which chat the event originated

Example Value:TwitchUser123

The Twitch display name from which chat the event originated

Example Value:3000

The subscription tier (T1 = 1000, T2 = 2000, T3 = 3000) (only available if isSubscribed is True)

Example Value:tier 1

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

Example Value:24

The total amount of subscriptions that the user has gifted

Example Value:TwitchUser123

The display name of the user

Example Value:Awesome Streamers,Discord Peeps,Top Contributors

Comma-delimited list of groups the user is in

Example Value:718933593

Unique user identifier

Example Value:twitchuser123

The login name of the user

Example Value:8/4/2023 10:56:06 AM

When was this user last active?

Example Value:twitch

Streaming service of this user