API ReferenceYouTube
Membership Gift
YouTube trigger: youtube:youtube:membership:membership-gift
Membership Gift
| Trigger ID | youtube:youtube:membership:membership-gift |
| Plugin | YouTube |
| Category | Membership |
Variables
Copy variables into handler fields using {variableName} syntax.
{user}{userId}{giftCount}{memberLevelName}{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: |
{giftCount} | number | Number of gifted subscriptions in the event. Example: |
{memberLevelName} | string | YouTube membership level name. 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 Gift Count | Minimum numeric value for Minimum Gift Count. Leave empty to disable. |