TwurpleAuthenticationGetting dataExamplesFAQMigration

BitsBadgeUpgradeEvent

An event representing a user unlocking a new bits badge in a channel.

Overview

Properties

broadcasterId

Type: string

The ID of the broadcaster.

broadcasterName

Type: string

The name of the broadcaster.

messageObject

Type: UserNotice

The full object that contains all the message information.

threshold

Type: number

The bits threshold that was reached.

userDisplayName

Type: string

The display name of the user who unlocked the badge.

userId

Type: string

The ID of the user who unlocked the badge.

userName

Type: string

The name of the user who unlocked the badge.

Methods

getBroadcaster()

async

Gets more information about the broadcaster.

Return type: HelixUser

getUser()

async

Gets more information about the user who unlocked the badge.

Return type: HelixUser