TwurpleAuthenticationGetting dataExamplesFAQMigration

Main classes

HelixChatBadgeVersion

A version of a chat badge.

Overview

Properties

clickAction

Type: string | null

The action to take when clicking on the badge. Set to null if no action is specified.

clickUrl

Type: string | null

The URL to navigate to when clicking on the badge. Set to null if no URL is specified.

description

Type: string

The description of the badge.

id

Type: string

The badge version ID.

title

Type: string

The title of the badge.

Methods

getImageUrl(scale)

Gets an image URL for the given scale.

ParameterTypeRequiredDefaultDescription
scale
HelixChatBadgeScale

Aliased type: 1 | 2 | 4

none

The scale of the badge image.

Return type: string