Message

Trigger for incoming YouTube chat messages

Variables

NameTypeDescription
Example Value:en

The default language code for the YouTube Broadcast's Stream

Example Value:en

The default language code for the YouTube Broadcast's Title and Description

Example Value:Super cool YouTube Stream happening now!

The description of the broadcast the message was sent from

Example Value:UCI9-KG2xoyh5z-g41IL2jqf

The ID of the broadcast the message was sent from

Example Value:public

The privacy setting of the broadcast the message was sent from

Valid values are public, unlisted, private

Example Value:12/21/2023 9:25:21 AM

When the YouTube broadcast was first published on YouTube

Example Value:live

The online status of the broadcast the message was sent from

Possible values are, complete, created, live, liveStarting, ready, revoked, testStarting, testing

Example Value:Horizontal,Gaming

The tags that are set for the YouTube Broadcast as a comma delimited string, and these tags are case sensitive.

Example Value:Really cool stream title

The title of the broadcast the message was sent from

Example Value:UCI9-KG2xoy

The broadcast ID from the livestream

Example Value:UCI9-KG2xoyh5z-g41IL2jqf

The YouTube user ID of the broadcaster account

Example Value:youtubeuser123

The YouTube user name of the broadcaster account

Example Value:https://yt3.ggpht.com/ytc/profile-image-id

The profile image of the broadcaster account

Example Value:[{"name":":chillwdog:","startIndex":6,"endIndex":16,"imageUrl":"https://yt3.ggpht.com/Ir9mDxzUi0mbqyYdJ3N9Lq7bN5Xdt0Q7fEYFngN3GYAcJT_tccH1as1PKmInnpt2cbWOam4=w24-h24-c-k-nd"},{"name":":chillwcat:","startIndex":52,"endIndex":62,"imageUrl":"https://yt3.ggpht.com/y03dFcPc1B7CO20zgQYzhcRPka5Bhs6iSg57MaxJdhaLidFvvXBLf_i4_SHG7zJ_2VpBMNs=w24-h24-c-k-nd"}]

JSON Format that separates each emote, providing name, start/end index, and imageURL

Example Value:true

Is this user a moderator?

Example Value:true

Has the user been a member at any time, including the present?

Example Value:Hello, world!

The message contents

Example Value:LCC.EhwKGkNPclgwSzZENlljREZUODZzd0FkbTJ3QXBR

The ID of the message

Example Value:[{`"text"`:"hello"},{`"emoji"`:":chillwdog:","image":"https://yt3.ggpht.com/Ir9mDxzUi0mbqyYdJ3N9Lq7bN5Xdt0Q7fEYFngN3GYAcJT_tccH1as1PKmInnpt2cbWOam4=w24-h24-c-k-nd","startIndex":6,"endIndex":16,"text":":chillwdog:"},{`"text"`:"world"}]

JSON Format that separates each block of text from the emotes within a chat message

Example Value:8/4/2023 10:56:06 AM

The time the message was sent at

Example Value:YouTubeUser123

The display name of the user

Example Value:UCI9-KG2xoyh5z-g41IL2jqf

Unique user identifier

Indicates whether the viewer is a current channel member or not

Example Value:youtubeuser123

The login name of the user

Example Value:8/4/2023 10:56:06 AM

When was this user last active?

The user's YouTube profile image

Example Value:youtube

Streaming service of this user