Bot Whispers

Trigger for a Twitch Bot Whisper
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
badgeCountnumber

The count of badges this user has

Example: 3
badgesList<Twitch.Common.Models.Badge>

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

isModeratorboolean

Is this user a moderator?

Example: true
isSubscribedboolean

Is this user subscribed?

Example: true
isVipboolean

Is this user a VIP?

Example: true
monthsSubscribednumber

The amount of months the user is subscribed

Example: 3
subscriptionTiernumber

The subscription tier (T1 = 1000, T2 = 2000, T3 = 3000) (only available if isSubscribed is True)

Example: 3000
userstring

The display name of the user

Example: TwitchUser123
userGroupsstring

Comma-delimited list of groups the user is in

Example: Awesome Streamers,Discord Peeps,Top Contributors
userIdstring

Unique user identifier

Example: 718933593
userNamestring

The login name of the user

Example: twitchuser123
userPreviousActiveDateTime

When was this user last active?

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

Streaming service of this user

Example: twitch