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
/
SessionPayload
Session
Payload
@
Serializable
data
class
SessionPayload
(
val
id
:
String
,
val
status
:
String
,
val
connectedAt
:
Instant
?
=
null
,
val
keepaliveTimeoutSeconds
:
Int
?
=
null
,
val
reconnectUrl
:
String
?
=
null
)
Members
Constructors
Session
Payload
Link copied to clipboard
constructor
(
id
:
String
,
status
:
String
,
connectedAt
:
Instant
?
=
null
,
keepaliveTimeoutSeconds
:
Int
?
=
null
,
reconnectUrl
:
String
?
=
null
)
Properties
connected
At
Link copied to clipboard
@
SerialName
(
value
=
"connected_at"
)
val
connectedAt
:
Instant
?
id
Link copied to clipboard
val
id
:
String
keepalive
Timeout
Seconds
Link copied to clipboard
@
SerialName
(
value
=
"keepalive_timeout_seconds"
)
val
keepaliveTimeoutSeconds
:
Int
?
reconnect
Url
Link copied to clipboard
@
SerialName
(
value
=
"reconnect_url"
)
val
reconnectUrl
:
String
?
status
Link copied to clipboard
val
status
:
String