API ReferenceYouTube
Gift Membership Received
YouTube trigger: youtube:youtube:membership:gift-membership-received
Gift Membership Received
| Trigger ID | youtube:youtube:membership:gift-membership-received |
| Plugin | YouTube |
| Category | Membership |
Variables
Copy variables into handler fields using {variableName} syntax.
{user}{userId}{memberLevelName}{gifterChannelId}{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: |
{memberLevelName} | string | YouTube membership level name. Example: |
{gifterChannelId} | string | Channel ID of the user who gifted the membership. 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. |