twitchkt
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
twitchkt
eventsub
/
io.github.captnblubber.twitchkt.eventsub.protocol
/
EventSubMetadata
Event
Sub
Metadata
@
Serializable
data
class
EventSubMetadata
(
val
messageId
:
String
,
val
messageType
:
String
,
val
messageTimestamp
:
String
,
val
subscriptionType
:
String
?
=
null
,
val
subscriptionVersion
:
String
?
=
null
)
Members
Constructors
Event
Sub
Metadata
Link copied to clipboard
constructor
(
messageId
:
String
,
messageType
:
String
,
messageTimestamp
:
String
,
subscriptionType
:
String
?
=
null
,
subscriptionVersion
:
String
?
=
null
)
Properties
message
Id
Link copied to clipboard
@
SerialName
(
value
=
"message_id"
)
val
messageId
:
String
message
Timestamp
Link copied to clipboard
@
SerialName
(
value
=
"message_timestamp"
)
val
messageTimestamp
:
String
message
Type
Link copied to clipboard
@
SerialName
(
value
=
"message_type"
)
val
messageType
:
String
subscription
Type
Link copied to clipboard
@
SerialName
(
value
=
"subscription_type"
)
val
subscriptionType
:
String
?
subscription
Version
Link copied to clipboard
@
SerialName
(
value
=
"subscription_version"
)
val
subscriptionVersion
:
String
?