Skip to main content

Session Gift Subscriptions

  • Alert key: twitch-sessionGiftSubscriptions
  • Source: Twitch
  • Event list label: Total Gift Subscriptions {{total}}

Default message template

Reached {{total}} gift subscriptions

Template variables

Use any of these in alert text, TTS, or chat templates. The same names appear under data.extraSettings.* when you subscribe via Overlay.on('alert').

Template variableOverlay payload fieldDescription
{{total}}data.extraSettings.totalHype train current total
{{previousTotal}}data.extraSettings.previousTotalNo description available yet.

Example payloads

Each scenario below mirrors what Lumia emits in Overlay.on('alert', (data) => …).

10 Total Gift Subscriptions

{
"alert": "twitch-sessionGiftSubscriptions",
"dynamic": {
"value": 100,
"total": 10,
"previousTotal": 5
},
"extraSettings": {
"total": 10,
"previousTotal": 5
}
}

50 Total Gift Subscriptions

{
"alert": "twitch-sessionGiftSubscriptions",
"dynamic": {
"value": 50,
"total": 50,
"previousTotal": 2
},
"extraSettings": {
"total": 50,
"previousTotal": 2
}
}

100 Total Gift Subscriptions

{
"alert": "twitch-sessionGiftSubscriptions",
"dynamic": {
"value": 100,
"total": 100,
"previousTotal": 50
},
"extraSettings": {
"total": 100,
"previousTotal": 50
}
}

Variation conditions

Dimensions you can branch on when configuring alert variations:

  • GREATER_NUMBER - Total Session Gift Subscriptions is greater than or equal to
  • COUNT_IS_MULTIPLE_OF - Total Session Gift Subscriptions is a multiple of