TwurpleAuthenticationGetting dataExamplesFAQMigration

Main classes

HelixCharityCampaign

A charity campaign in a Twitch channel.

Overview

Properties

broadcasterDisplayName

Type: string

The display name of the broadcaster.

broadcasterId

Type: string

The ID of the broadcaster.

broadcasterName

Type: string

The name of the broadcaster.

charityDescription

Type: string

A description of the charity.

charityName

Type: string

The name of the charity.

charityWebsite

Type: string

A URL to the charity’s website.

currentAmount

Type: HelixCharityCampaignAmount

An object that contains the current amount of donations that the campaign has received.

id

Type: string

An ID that identifies the charity campaign.

targetAmount

Type: HelixCharityCampaignAmount

An object that contains the campaign’s target fundraising goal.

Methods

getBroadcaster()

async

Gets more information about the broadcaster.

Return type: HelixUser