Chat message
Bot trigger: bot:bot:chat-message
Chat message
| Trigger ID | bot:bot:chat-message |
| Plugin | Bot |
| Category | Bot |
Variables
Copy variables into handler fields using {variableName} syntax.
{source}{user}{userId}{message}{role}{channel}{broadcasterId}{messageId}{liveChatId}{channelId}| Name | Type | Description |
|---|---|---|
{source} | 'twitch' | 'youtube' | Event source (platform such as `twitch`/`youtube`, or rankings source such as `watch-time`/`manual`). Example: |
{user} | string | Display name of the user who triggered the event. Example: |
{userId} | string | Platform user ID of the chatter or actor. Example: |
{message} | string | Full message text from the event. Example: |
{role} | string | Role of the user (for example everyone, mod, broadcaster, vip, subscriber). Example: |
{channel} | string | Channel login or display name where the event occurred. Example: |
{broadcasterId} | string | Broadcaster channel ID for the connected account. Example: |
{messageId} | string | Platform message ID for the chat message. Example: |
{liveChatId} | string | YouTube live chat ID for the active broadcast. |
{channelId} | string | YouTube channel ID for the connected account. |