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
/
SubNotification
Sub
Notification
@
Serializable
data
class
SubNotification
(
val
subTier
:
String
=
""
,
val
isPrime
:
Boolean
=
false
,
val
durationMonths
:
Int
=
0
)
Members
Constructors
Sub
Notification
Link copied to clipboard
constructor
(
subTier
:
String
=
""
,
isPrime
:
Boolean
=
false
,
durationMonths
:
Int
=
0
)
Properties
duration
Months
Link copied to clipboard
@
SerialName
(
value
=
"duration_months"
)
val
durationMonths
:
Int
is
Prime
Link copied to clipboard
@
SerialName
(
value
=
"is_prime"
)
val
isPrime
:
Boolean
sub
Tier
Link copied to clipboard
@
SerialName
(
value
=
"sub_tier"
)
val
subTier
:
String