twitchkt
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
twitchkt
eventsub
/
io.github.captnblubber.twitchkt.eventsub.model
/
PredictionOutcome
Prediction
Outcome
@
Serializable
data
class
PredictionOutcome
(
val
id
:
String
=
""
,
val
title
:
String
=
""
,
val
color
:
String
=
""
,
val
users
:
Int
=
0
,
val
channelPoints
:
Int
=
0
,
val
topPredictors
:
List
<
TopPredictor
>
?
=
null
)
Members
Constructors
Prediction
Outcome
Link copied to clipboard
constructor
(
id
:
String
=
""
,
title
:
String
=
""
,
color
:
String
=
""
,
users
:
Int
=
0
,
channelPoints
:
Int
=
0
,
topPredictors
:
List
<
TopPredictor
>
?
=
null
)
Properties
channel
Points
Link copied to clipboard
@
SerialName
(
value
=
"channel_points"
)
val
channelPoints
:
Int
color
Link copied to clipboard
val
color
:
String
id
Link copied to clipboard
val
id
:
String
title
Link copied to clipboard
val
title
:
String
top
Predictors
Link copied to clipboard
@
SerialName
(
value
=
"top_predictors"
)
val
topPredictors
:
List
<
TopPredictor
>
?
users
Link copied to clipboard
val
users
:
Int