diskord
5.2.0
common
diskord-core
/
com.jessecorbett.diskord.api.gateway.events
/
Ready
Ready
@
Serializable
data
class
Ready
(
val
gatewayProtocolVersion
:
Int
,
val
user
:
User
,
val
directMessageChannels
:
List
<
Channel
>
,
val
guilds
:
List
<
UnavailableGuild
>
,
val
sessionId
:
String
,
val
debug
:
List
<
String
>
,
val
shardIdAndNumber
:
List
<
Int
>
?
=
null
)
(
source
)
Members
Constructors
Ready
Link copied to clipboard
constructor
(
gatewayProtocolVersion
:
Int
,
user
:
User
,
directMessageChannels
:
List
<
Channel
>
,
guilds
:
List
<
UnavailableGuild
>
,
sessionId
:
String
,
debug
:
List
<
String
>
,
shardIdAndNumber
:
List
<
Int
>
?
=
null
)
Properties
debug
Link copied to clipboard
@
SerialName
(
value
=
"_trace"
)
val
debug
:
List
<
String
>
direct
Message
Channels
Link copied to clipboard
@
SerialName
(
value
=
"private_channels"
)
val
directMessageChannels
:
List
<
Channel
>
gateway
Protocol
Version
Link copied to clipboard
@
SerialName
(
value
=
"v"
)
val
gatewayProtocolVersion
:
Int
guilds
Link copied to clipboard
@
SerialName
(
value
=
"guilds"
)
val
guilds
:
List
<
UnavailableGuild
>
session
Id
Link copied to clipboard
@
SerialName
(
value
=
"session_id"
)
val
sessionId
:
String
shard
Id
And
Number
Link copied to clipboard
@
SerialName
(
value
=
"shard"
)
val
shardIdAndNumber
:
List
<
Int
>
?
=
null
user
Link copied to clipboard
@
SerialName
(
value
=
"user"
)
val
user
:
User