Api Sandbox StreamPrediction
struct

StreamPrediction

public sealed struct StreamPrediction

Properties

Name Type Description
Id String
BroadcasterId String
BroadcasterLogin String
BroadcasterName String
Title String
WinningOutcomeId String
PredictionWindow Int32
Status String
CreatedAt DateTimeOffset
EndedAt DateTimeOffset
LockedAt DateTimeOffset
Outcomes Outcome[]

Methods

Task<StreamPrediction> Lock()

Lock this prediction

Task<StreamPrediction> Cancel()

Cancel this prediction

Task<StreamPrediction> Resolve()

Resolve this prediction and choose winning outcome to pay out channel points

Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.StreamPrediction