API ReferenceYouTube
Gift (Jewels)
YouTube trigger: youtube:youtube:chat:gift-jewels
Gift (Jewels)
| Trigger ID | youtube:youtube:chat:gift-jewels |
| Plugin | YouTube |
| Category | Chat |
Variables
Copy variables into handler fields using {variableName} syntax.
{user}{userId}{giftName}{jewelsAmount}{raw}{channelId}{channel}{liveChatId}{broadcastId}| Name | Type | Description |
|---|---|---|
{user} | string | Display name of the user who triggered the event. Example: |
{userId} | string | Platform user ID of the chatter or actor. Example: |
{giftName} | string | Name of the gifted item (for example jewel type). Example: |
{jewelsAmount} | number | Number of YouTube jewels gifted. Example: |
{raw} | object | Raw platform chat message object (JSON). |
{channelId} | string | YouTube channel ID for the connected account. |
{channel} | string | Channel login or display name where the event occurred. |
{liveChatId} | string | YouTube live chat ID for the active broadcast. |
{broadcastId} | string | YouTube broadcast (stream) ID. |
Conditions
| Condition | Description |
|---|---|
| Username | Match chatter username (equals, contains, starts with, ends with). Leave empty to always match. |
| Minimum Jewels | Minimum number of YouTube jewels in the gift event. |