Message

Trigger for incoming YouTube chat messages

Variables

The following variables will be populated when this trigger executes:

Description
emotesstring

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

Example: [{"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"}]
messagestring

The message contents

Example: Hello, world!
messageIdstring

The ID of the message

Example: LCC.EhwKGkNPclgwSzZENlljREZUODZzd0FkbTJ3QXBR
partsstring

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

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

The time the message was sent at

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