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

PubSubBitsBadgeUnlockMessage

A message that informs about a user unlocking a new bits badge.

Overview

Properties

badgeTier

Type: number

The new badge tier.

message

Type: string

The full message that was sent with the notification.

userId

Type: ?string

The ID of the user that unlocked the badge.

userName

Type: ?string

The name of the user that unlocked the badge.

Methods

getUser()

async
Deprecated.

Use HelixUserApi#getUserById instead.

Retrieves more information about the user.

Return type: HelixUser | null