TwurpleAuthenticationGetting dataExamplesFAQMigration

Main classes

HelixGoal

A creator goal.

Overview

Properties

broadcasterDisplayName

Type: string

The display name of the broadcaster the goal belongs to.

broadcasterId

Type: string

The ID of the broadcaster the goal belongs to.

broadcasterName

Type: string

The name of the broadcaster the goal belongs to.

creationDate

Type: Date

The date and time when the goal was created.

currentAmount

Type: number

The current value of the goal.

description

Type: string

The description of the goal.

id

Type: string

The ID of the goal.

targetAmount

Type: number

The target value of the goal.

type

Type: HelixGoalType

The type of the goal.

Methods

getBroadcaster()

async

Gets more information about the broadcaster.

Return type: HelixUser