Ir al contenido

Twitch.GiftBomb

Alguien regala varias suscripciones de golpe.

  • Plataforma: twitch
  • Forma: giftBomb
  • Evento de origen: Twitch.GiftBomb
Widget.on("Twitch.GiftBomb", (event) => {
// event.user, event.platform…
});
  • user (string): Nombre visible; «Anónimo» en un regalo anónimo.
  • userId (string): Id del usuario en su plataforma.
  • userLogin (string): Login, en minúsculas.
  • amount (number): Cuántas regala.
  • recipients (string[]): Quiénes las reciben.
  • tier (1 | 2 | 3): Nivel de la suscripción.
  • anonymous (boolean): Si el regalo es anónimo.
  • giftBombId (string): Id de la bomba.

Además trae platform (la plataforma de origen) y raw (el payload original).

El payload de ejemplo que llega al simulador del Estudio:

{
"user": {
"role": 1,
"badges": [],
"color": "#1E90FF",
"subscribed": false,
"monthsSubscribed": 0,
"id": "100000004",
"login": "donregalos",
"name": "DonRegalos",
"type": "twitch"
},
"messageId": "00000000-0000-4000-8000-000000000003",
"systemMessage": "DonRegalos is gifting 5 Tier 1 Subs to CanalDePrueba's community! They've gifted a total of 25 in the channel!",
"isTest": false,
"broadcaster": {
"id": "100000000",
"login": "canaldeprueba",
"name": "CanalDePrueba",
"type": "twitch"
},
"isInSharedChat": false,
"isSharedChatHost": false,
"isFromSharedChatGuest": false,
"createdAt": "2026-09-26T05:40:12.5324718Z",
"id": "1000000000000001",
"total": 5,
"cumulativeTotal": 25,
"subTier": "1000",
"recipients": [
{
"id": "100000002",
"login": "lunagamer",
"name": "LunaGamer",
"type": "twitch"
},
{
"id": "100000003",
"login": "eltacoloco",
"name": "ElTacoLoco",
"type": "twitch"
},
{
"id": "100000005",
"login": "nuberosa",
"name": "NubeRosa",
"type": "twitch"
},
{
"id": "100000010",
"login": "buhosabio",
"name": "BuhoSabio",
"type": "twitch"
},
{
"id": "100000011",
"login": "llamafeliz",
"name": "LlamaFeliz",
"type": "twitch"
}
]
}