Stream Kit Docs
API ReferenceBot

Chat message

Bot trigger: bot:bot:chat-message

Chat message

Trigger IDbot:bot:chat-message
PluginBot
CategoryBot

Variables

Copy variables into handler fields using {variableName} syntax.

{source}{user}{userId}{message}{role}{channel}{broadcasterId}{messageId}{liveChatId}{channelId}
NameTypeDescription
{source}
'twitch' | 'youtube'

Event source (platform such as `twitch`/`youtube`, or rankings source such as `watch-time`/`manual`).

Example: twitch

{user}
string

Display name of the user who triggered the event.

Example: TestUser

{userId}
string

Platform user ID of the chatter or actor.

Example: 123456

{message}
string

Full message text from the event.

Example: Test message for chat trigger

{role}
string

Role of the user (for example everyone, mod, broadcaster, vip, subscriber).

Example: user

{channel}
string

Channel login or display name where the event occurred.

Example: #testchannel

{broadcasterId}
string

Broadcaster channel ID for the connected account.

Example: 654321

{messageId}
string

Platform message ID for the chat message.

Example: test-message-id

{liveChatId}
string

YouTube live chat ID for the active broadcast.

{channelId}
string

YouTube channel ID for the connected account.

On this page