TwurpleAuthenticationGetting dataExamplesFAQMigration

Main classes

Classes

ApiReportedRequestChatMessageDroppedErrorConfigErrorHelixAdScheduleHelixBanHelixBanUserHelixBitsLeaderboardHelixBitsLeaderboardEntryHelixBlockedTermHelixChannelHelixChannelEditorHelixChannelEmoteHelixChannelFollowerHelixChannelReferenceHelixChannelSearchResultHelixCharityCampaignHelixCharityCampaignAmountHelixCharityCampaignDonationHelixChatBadgeSetHelixChatBadgeVersionHelixChatChatterHelixChatSettingsHelixCheermoteListHelixClipHelixContentClassificationLabelHelixCustomRewardHelixCustomRewardRedemptionHelixDropsEntitlementHelixEmoteHelixEmoteFromSetHelixEventSubConduitHelixEventSubConduitShardHelixEventSubSubscriptionHelixExtensionBitsProductHelixExtensionTransactionHelixFollowHelixFollowedChannelHelixGameHelixGoalHelixGoalApiHelixHypeTrainHelixHypeTrainAllTimeHighHelixHypeTrainContributionHelixHypeTrainSharedParticipantHelixHypeTrainStatusHelixInstalledExtensionHelixInstalledExtensionListHelixModeratedChannelHelixModeratorHelixPaginatedEventSubSubscriptionsRequestHelixPaginatedRequestHelixPaginatedRequestWithTotalHelixPaginatedScheduleSegmentRequestHelixPaginatedSubscriptionsRequestHelixPollHelixPollChoiceHelixPredictionHelixPredictionOutcomeHelixPredictorHelixPrivilegedChatSettingsHelixPrivilegedUserHelixRaidHelixScheduleHelixScheduleSegmentHelixSentChatMessageHelixSharedChatSessionHelixSharedChatSessionParticipantHelixShieldModeStatusHelixStreamHelixStreamMarkerHelixStreamMarkerWithVideoHelixSubscriptionHelixTeamHelixTeamWithUsersHelixUnbanRequestHelixUserHelixUserBlockHelixUserEmoteHelixUserExtensionHelixUserRelationHelixUserSubscriptionHelixVideoHelixWarningStreamNotLiveError

HelixHypeTrain

Data about the currently running Hype Train.

Overview

Properties

broadcasterDisplayName

Type: string

The display name of the broadcaster where the Hype Train is happening.

broadcasterId

Type: string

The user ID of the broadcaster where the Hype Train is happening.

broadcasterName

Type: string

The name of the broadcaster where the Hype Train is happening.

eventId

Type: string

The unique ID of the Hype Train event.

expiryDate

Type: Date

The time when the Hype Train is set to expire.

goal

Type: number

The progress points goal to reach the next Hype Train level.

id

Type: string

The unique ID of the Hype Train.

isSharedTrain

Type: boolean

Whether the Hype Train is a shared train.

level

Type: number

The level of the Hype Train.

progress

Type: number

The amount progress points for the current level of the Hype Train.

startDate

Type: Date

The time when the Hype Train started.

topContributions

Type: HelixHypeTrainContribution[]

Array list of the top contributions to the Hype Train event for bits and subs.

total

Type: number

The total amount of progress points of the Hype Train.

type

Type: HelixHypeTrainType

The type of the Hype Train.

Methods

getBroadcaster()

async

Gets more information about the broadcaster where the Hype Train is happening.

Return type: HelixUser