Overview
Properties
autoLockAfter
Type: number
The time after which the prediction will be automatically locked, in seconds from creation.
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.
creationDate
Type: Date
The date when the prediction started.
endDate
Type: Date | null
The date when the prediction ended, or null if it didn't end yet.
id
Type: string
The ID of the prediction.
lockDate
Type: Date | null
The date when the prediction was locked, or null if it wasn't locked yet.
outcomes
The possible outcomes of the prediction.
status
Type: HelixPredictionStatusThe different statuses a prediction can have.
Aliased type: "ACTIVE" | "RESOLVED" | "CANCELED" | "LOCKED"
The status of the prediction.
title
Type: string
The title of the prediction.
Methods
getBroadcaster()
asyncRetrieves more information about the broadcaster.