twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks

PubSubBitsMessage

A message that informs about bits being used in a channel.

Overview

Properties

bits

Type: number

The number of bits that were sent.

isAnonymous

Type: boolean

Whether the cheer was anonymous.

message

Type: string

The full message that was sent with the bits.

totalBits

Type: number

The total number of bits that were ever sent by the user in the channel.

userId

Type: ?string

The ID of the user that sent the bits.

userName

Type: ?string

The name of the user that sent the bits.

Methods

getUser()

async
Deprecated.

Use HelixUserApi#getUserById instead.

Retrieves more information about the user.

Return type: HelixUser | null