kord-gateway
common
kord-gateway
/
dev.kord.gateway
/
DiscordPresence
Discord
Presence
@
Serializable
data
class
DiscordPresence
(
val
status
:
PresenceStatus
,
val
afk
:
Boolean
,
val
since
:
Instant
?
=
null
,
val
game
:
DiscordBotActivity
?
=
null
)
(
source
)
Members
Constructors
Discord
Presence
Link copied to clipboard
constructor
(
status
:
PresenceStatus
,
afk
:
Boolean
,
since
:
Instant
?
=
null
,
game
:
DiscordBotActivity
?
=
null
)
Properties
afk
Link copied to clipboard
val
afk
:
Boolean
game
Link copied to clipboard
val
game
:
DiscordBotActivity
?
=
null
since
Link copied to clipboard
@
Serializable
(
with
=
InstantInEpochMillisecondsSerializer::class
)
val
since
:
Instant
?
=
null
status
Link copied to clipboard
val
status
:
PresenceStatus