toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-common
/
dev.kord.common.entity
/
DiscordBotActivity
Discord
Bot
Activity
@
Serializable
data
class
DiscordBotActivity
(
val
name
:
String
,
val
type
:
ActivityType
,
val
url
:
Optional
<
String
?
>
=
Optional.Missing()
,
val
state
:
Optional
<
String
?
>
=
Optional.Missing()
)
(
source
)
Members
Constructors
Discord
Bot
Activity
Link copied to clipboard
constructor
(
name
:
String
,
type
:
ActivityType
,
url
:
Optional
<
String
?
>
=
Optional.Missing()
,
state
:
Optional
<
String
?
>
=
Optional.Missing()
)
Properties
name
Link copied to clipboard
val
name
:
String
state
Link copied to clipboard
val
state
:
Optional
<
String
?
>
type
Link copied to clipboard
val
type
:
ActivityType
url
Link copied to clipboard
val
url
:
Optional
<
String
?
>