PredictionEnd
data class PredictionEnd(val subscriptionType: String, val messageId: String, val timestamp: Instant, val id: String, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val title: String, val winningOutcomeId: String?, val outcomes: List<PredictionOutcome>, val status: String, val startedAt: Instant, val endedAt: Instant) : TwitchEvent
Constructors
Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, id: String, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, title: String, winningOutcomeId: String?, outcomes: List<PredictionOutcome>, status: String, startedAt: Instant, endedAt: Instant)
Properties
Link copied to clipboard
the broadcaster's user ID.
Link copied to clipboard
the broadcaster's login.
Link copied to clipboard
the broadcaster's display name.
Link copied to clipboard
the list of prediction outcomes with final totals.
Link copied to clipboard
The EventSub subscription type string (e.g. channel.follow).
Link copied to clipboard
the ID of the winning outcome; null if canceled.