Whispers

Trigger for a Twitch Whisper
0.0.39
Chat Client

Notes

The user sending the whisper must have a verified phone number (see the Phone Number setting in your Security and Privacy settings).

The API may silently drop whispers that it suspects of violating Twitch policies, it will still indicate success even if the message is dropped.

Rate Limits: You may whisper to a maximum of 40 unique recipients per day. Within the per day limit, you may whisper a maximum of 3 whispers per second and a maximum of 100 whispers per minute.

The maximum message lengths are:

  • 500 characters if the user you're sending the message to hasn't whispered you before.
  • 10,000 characters if the user you're sending the message to has whispered you before.

Messages that exceed the maximum length are truncated.

Variables

The following variables will be populated when this trigger executes:

Description
bitsnumber

The amount of bits donated

Example: 200
colorstring

Hex value of the user's chat color

Example: #e5e5e5
colorBstring

The blue in RGB of the user's chat color

Example: 229
colorGstring

The green in RGB of the user's chat color

Example: 229
colorRstring

The red in RGB of the user's chat color

Example: 229
emoteCountnumber

Number of emotes in the chat message

emotesList<Twitch.Common.Models.Emote>

A C# accessible list of emotes used in the chat message

firstMessageboolean

Is this user a first time chatter?

Example: true
isActionboolean

Is this message a /me action?

Example: true
isHighlightboolean

Is this message a Twitch Highlight?

Example: true
isReplyboolean

Is this message a reply?

Example: true
messagestring

Text content of the chat message

Example: Hello!
messageCheermotesStrippedstring

The chat message with cheer emotes stripped.

Example: Hello!
messageStrippedstring

The chat message with emotes stripped

Example: Hello!
msgIdstring

Twitch's message identifier

Example: a126e8a8-43f7-4a14-8990-e8c3feea76d8
reply.msgBodystring

The text content of the reply, Spaces are replaced by \s

Example: My\schat\smessage
reply.msgIdstring

The message id of the reply

Example: a126e8a8-43f7-4a14-8990-e8c3feea76d8
reply.threadMsgIdstring

The message id of the thread

Example: a126e8a8-43f7-4a14-8990-e8c3feea76d8
reply.threadUserLoginstring

The user login name of the thread

Example: twitchuser123
reply.userIdstring

The user id from the user who sent the reply

Example: 718933593
reply.userLoginstring

The user login from the user who sent the reply

Example: twitchuser123
reply.userNamestring

The user name from the user who sent the reply

Example: TwitchUser123
rolenumber

The role of the user
1=Viewer, 2=VIP, 3=Moderator, 4=Broadcaster

Example: 1