twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks
Welcome

EventSubChannelPredictionBeginEvent

An EventSub event representing a prediction starting in a 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.

id

Type: string

The ID of the prediction.

lockDate

Type: Date

The time when the prediction is locked.

outcomes

Type: Array<EventSubChannelPredictionBeginOutcome>

The possible outcomes of the prediction.

startDate

Type: Date

The time when the prediction started.

title

Type: string

The title of the prediction.

Methods

getBroadcaster()

async

Retrieves more information about the broadcaster.

Return type: HelixUser