toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-core
/
dev.kord.core.entity
/
Activity
Activity
class
Activity
(
val
data
:
ActivityData
)
(
source
)
Members
Constructors
Activity
Link copied to clipboard
constructor
(
data
:
ActivityData
)
Types
Assets
Link copied to clipboard
data
class
Assets
(
val
largeImage
:
String
?
,
val
largeText
:
String
?
,
val
smallImage
:
String
?
,
val
smallText
:
String
?
)
Party
Link copied to clipboard
data
class
Party
(
val
id
:
String
?
,
val
currentSize
:
Int
?
,
val
maxSize
:
Int
?
)
Secrets
Link copied to clipboard
data
class
Secrets
(
val
join
:
String
?
,
val
spectate
:
String
?
,
val
match
:
String
?
)
Properties
application
Id
Link copied to clipboard
val
applicationId
:
Snowflake
?
assets
Link copied to clipboard
val
assets
:
Activity.Assets
buttons
Link copied to clipboard
val
buttons
:
List
<
String
>
?
data
Link copied to clipboard
val
data
:
ActivityData
details
Link copied to clipboard
val
details
:
String
?
emoji
Link copied to clipboard
val
emoji
:
DiscordActivityEmoji
?
end
Link copied to clipboard
val
end
:
Instant
?
flags
Link copied to clipboard
val
flags
:
ActivityFlags
?
is
Instance
Link copied to clipboard
val
isInstance
:
Boolean
?
name
Link copied to clipboard
val
name
:
String
party
Link copied to clipboard
val
party
:
Activity.Party
?
secrets
Link copied to clipboard
val
secrets
:
Activity.Secrets
start
Link copied to clipboard
val
start
:
Instant
?
state
Link copied to clipboard
val
state
:
String
?
type
Link copied to clipboard
val
type
:
ActivityType
url
Link copied to clipboard
val
url
:
String
?
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String