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

EventSubChannelPredictionLockEvent

An EventSub event representing a prediction being locked 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 was locked.

outcomes

Type: Array<EventSubChannelPredictionOutcome>

The possible 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