adbreak_begin#
Ad-break has begun and ads are playing now in mentioned channel.
Fields:
channelstring - Channel the event occurred indurationint64 - Duration of the ad break in secondsis_automaticbool - Whether the ad break was started automaticallystarted_attime.Time - Time the ad break started
announcement#
An announcement was sent in chat.
Fields:
channelstring - Channel the event occurred incolorstring - Announcement colormessagestring - Announcement textuserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
ban#
Moderator action caused a user to be banned from chat.
Note: This event does not contain the acting user! You cannot use the {{.user}} variable.
Fields:
channelstring - Channel the event occurred intarget_idstring - ID of the user being bannedtarget_namestring - Login name of the user being banned
bits#
User spent bits in the channel. The full message is available like in a normal chat message, additionally the {{ .bits }} field is added with the total amount of bits spent.
Fields:
bitsint64 - Total amount of bits spent in the messagechannelstring - Channel the event occurred inmessagestring - Chat message containing the bitsuserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
category_update#
The current category for the channel was changed. (This event has some delay to the real category change!)
Fields:
categorystring - New stream categorychannelstring - Channel the event occurred in
channelpoint_redeem#
A custom channel-point reward was redeemed in the given channel. (Only available when EventSub support is available and streamer granted required permissions!)
Fields:
channelstring - Channel the event occurred inreward_costint64 - Number of points paid for the rewardreward_idstring - ID of the redeemed rewardreward_titlestring - Title of the redeemed rewardstatusstring - Status of the redemptionuserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the eventuser_inputstring - Text entered for the reward
clearchat#
Moderator action caused chat to be cleared.
Note: This event does not contain the acting user! You cannot use the {{.user}} variable.
Fields:
channelstring - Channel the event occurred in
custom#
A custom event was created through the customevent action or API.
Fields:
-
channelstring - Channel the event occurred in -
Any additional fields passed to the custom event
delete#
Moderator action caused a chat message to be deleted.
Note: This event does not contain the acting user! You cannot use the {{.user}} variable.
Fields:
channelstring - Channel the event occurred inmessage_idstring - UUID of the message being deletedtarget_namestring - Login name of the author of the deleted message
follow#
User followed the channel. This event is not de-duplicated and therefore might be used to spam! (Only available when EventSub support is available!)
Fields:
channelstring - Channel the event occurred infollowed_attime.Time - Time the user followed the channeluserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
giftpaidupgrade#
User upgraded their gifted subscription into a paid one. This event does not contain any details about the tier of the paid subscription.
Fields:
channelstring - Channel the event occurred ingifterstring - Login name of the user who gifted the subscriptionuserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
hypetrain_begin#
A Hype-Train has begun in the given channel.
Fields:
channelstring - Channel the event occurred ineventtwitch.EventSubEventHypetrain - Raw Hype-Train eventlevelint64 - Current Hype-Train levellevelProgressfloat64 - Progress towards the next Hype-Train level
hypetrain_end#
A Hype-Train has ended in the given channel.
Fields:
channelstring - Channel the event occurred ineventtwitch.EventSubEventHypetrain - Raw Hype-Train eventlevelint64 - Current Hype-Train level
hypetrain_progress#
A Hype-Train has progressed in the given channel.
Fields:
channelstring - Channel the event occurred ineventtwitch.EventSubEventHypetrain - Raw Hype-Train eventlevelint64 - Current Hype-Train levellevelProgressfloat64 - Progress towards the next Hype-Train level
join#
User joined the channel-chat. This is NOT an indicator they are viewing, the event is NOT reliably sent when the user really joined the chat. The event will be sent with some delay after they join the chat and is sometimes repeated multiple times during their stay. So DO NOT use this to greet users!
Fields:
channelstring - Channel the event occurred inuserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
kofi_donation#
A Ko-fi donation was received through the API-Webhook.
Fields:
amountfloat64 - Amount donated as submitted by Ko-fichannelstring - Channel the event occurred forcurrencystring - Currency of the donated amountfromstring - Name submitted by the donorisFirstSubPaymentbool - Whether this is the first subscription paymentisSubscriptionbool - Whether this is a subscription paymentmessage*string (optional) - Message entered by the donortier*string (optional) - Subscription tier
moderator_add#
A user was added as a moderator to the channel. (Only available when EventSub support is available and the streamer granted the required permission!)
Fields:
channelstring - Channel the event occurred inuserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
moderator_remove#
A user was removed as a moderator from the channel. (Only available when EventSub support is available and the streamer granted the required permission!)
Fields:
channelstring - Channel the event occurred inuserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
outbound_raid#
The channel has raided another channel. (The event is issued in the moment the raid is executed, not when the raid timer starts!)
Fields:
channelstring - Channel the event occurred intostring - Login name of the channel receiving the raidto_idstring - ID of the channel receiving the raidviewersint64 - Number of viewers included in the raid
part#
User left the channel-chat. This is NOT an indicator they are no longer viewing, the event is NOT reliably sent when the user really leaves the chat. The event will be sent with some delay after they leave the chat and is sometimes repeated multiple times during their stay. So this does NOT mean they do no longer read the chat!
Fields:
channelstring - Channel the event occurred inuserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
permit#
User received a permit, which means they are no longer affected by rules which are disabled on permit.
Fields:
channelstring - Channel the event occurred intostring - Login name of the user who received the permituserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
poll_begin#
A poll was started in the given channel.
Fields:
channelstring - Channel the event occurred inhasChannelPointVotingbool - Whether channel-point voting is enabledpolltwitch.EventSubEventPoll - Raw poll eventtitlestring - Poll title
poll_end#
A poll ended in the given channel.
Fields:
channelstring - Channel the event occurred inhasChannelPointVotingbool - Whether channel-point voting is enabledpolltwitch.EventSubEventPoll - Raw poll eventstatusstring - Poll statustitlestring - Poll title
poll_progress#
A poll changed in the given channel.
Fields:
channelstring - Channel the event occurred inhasChannelPointVotingbool - Whether channel-point voting is enabledpolltwitch.EventSubEventPoll - Raw poll eventtitlestring - Poll title
primepaidupgrade#
User upgraded their Prime subscription into a paid one.
Fields:
channelstring - Channel the event occurred inplanstring - Paid subscription planuserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
raid#
The channel was raided by another user.
Fields:
channelstring - Channel the event occurred infromstring - Login name of the user who raided the channeluserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the eventviewercountint64 - Number of viewers included in the raid
resub#
The user shared their resubscription. (This event is triggered manually by the user using the “Share my Resub” button and does not occur when the user does not actively share their sub!)
Fields:
channelstring - Channel the event occurred infromstring - Login name of the user who resubscribedmessagestring - Message shared with the resubscriptionmulti_monthint64 - Multi-month duration in months reported by Twitchplanstring - Subscription plansubscribed_monthsint64 - Number of months the user has been subscribeduserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
shoutout_created#
The channel gave another streamer a (Twitch native) shoutout
Fields:
channelstring - Channel the event occurred intostring - Login name of the channel receiving the shoutoutto_idstring - ID of the channel receiving the shoutoutviewersint64 - Number of viewers shown the shoutout
shoutout_received#
The channel received a (Twitch native) shoutout by another channel.
Fields:
channelstring - Channel the event occurred infromstring - Login name of the channel issuing the shoutoutfrom_idstring - ID of the channel issuing the shoutoutviewersint64 - Number of viewers shown the shoutout
stream_offline#
The channels stream went offline. (This event has some delay to the real button-press to “stop stream”!)
Fields:
channelstring - Channel the event occurred in
stream_online#
The channels stream went online. (This event has some delay to the real button-press to “start stream”!)
Fields:
channelstring - Channel the event occurred in
sub#
The user newly subscribed on their own. (This event is triggered automatically and does not need to be shared actively!)
Fields:
channelstring - Channel the event occurred infromstring - Login name of the user who subscribedmulti_monthint64 - Multi-month duration in months reported by Twitchplanstring - Subscription planuserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
subgift#
The user gifted the subscription to a specific user. (This event DOES occur multiple times after submysterygift events!)
Fields:
channelstring - Channel the event occurred infromstring - Login name of the user who gifted the subscriptiongifted_monthsint64 - Number of months the user giftedmulti_monthint64 - Multi-month duration in months reported by Twitchorigin_idstring - ID unique to the gift eventplanstring - Subscription plansubscribed_monthsint64 - Number of months the recipient has been subscribedtostring - Login name of the user who received the subscriptiontotal_giftedint64 - Total number of subscriptions gifted by the useruserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
submysterygift#
The user gifted multiple subs to the community. (This event is followed by number x subgift events.)
Fields:
channelstring - Channel the event occurred infromstring - Login name of the user who gifted the subscriptionsmulti_monthint64 - Multi-month duration in months reported by Twitchnumberint64 - Number of gifted subscriptionsorigin_idstring - ID unique to the gift eventplanstring - Subscription plantotal_giftedint64 - Total number of subscriptions gifted by the useruserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
sus_user_message#
A suspicious (monitored / restricted) user sent a message in the given channel
Fields:
ban_evasionstring - Ban-evasion evaluationchannelstring - Channel the event occurred inmessagestring - Message textshared_ban_channels[]string - IDs of shared-ban channelsstatusstring - Restriction statususer_idstring - ID of the suspicious useruser_type[]string - Suspicious-user typesusernamestring - Login name of the suspicious user
sus_user_update#
The status of suspicious user was changed by a moderator
Fields:
channelstring - Channel the event occurred inmoderatorstring - Login name of the acting moderatorstatusstring - Restriction statususer_idstring - ID of the suspicious userusernamestring - Login name of the suspicious user
timeout#
Moderator action caused a user to be timed out from chat.
Note: This event does not contain the acting user! You cannot use the {{.user}} variable.
Fields:
channelstring - Channel the event occurred indurationtime.Duration - Timeout duration in nanosecondssecondsint - Timeout duration in secondstarget_idstring - ID of the user being timed outtarget_namestring - Login name of the user being timed out
title_update#
The current title for the channel was changed. (This event has some delay to the real category change!)
Fields:
channelstring - Channel the event occurred intitlestring - New stream title
vip_add#
A user was added as a VIP to the channel. (Only available when EventSub support is available and the streamer granted the required permission!)
Fields:
channelstring - Channel the event occurred inuserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
vip_remove#
A user was removed as a VIP from the channel. (Only available when EventSub support is available and the streamer granted the required permission!)
Fields:
channelstring - Channel the event occurred inuserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
watch_streak#
The user shared a watch-streak milestone.
Fields:
channelstring - Channel the event occurred inmessagestring - Message shared with the milestonestreakint64 - Watch-streak valueuserstring - Login name of the user associated with the eventuser_idstring (optional) - ID of the user associated with the event
whisper#
The bot received a whisper message. (You can use (.*) as message match and {{ group 1 }} as template to get the content of the whisper.)
This event has no event fields.