GatewayActivity
Index
Properties
optionalapplication_id
Application id for the game
optionalassets
Images for the presence and their hover texts
See https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-assets
optionalbuttons
The custom buttons shown in the Rich Presence (max 2)
created_at
Unix timestamp of when the activity was added to the user's session
optionaldetails
What the player is currently doing
optionalemoji
The emoji used for a custom status
See https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-emoji
optionalflags
Activity flags OR
d together, describes what the payload includes
See https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-flags
id
The activity's id
optionalinstance
Whether or not the activity is an instanced game session
name
The activity's name
optionalparty
Information for the current party of the player
See https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-party
optionalplatform
optionalsecrets
Secrets for Rich Presence joining and spectating
See https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-secrets
optionalsession_id
optionalstate
The user's current party status, or the text used for a custom status
optionalsync_id
optionaltimestamps
Unix timestamps for start and/or end of the game
type
optionalurl
Stream url, is validated when type is 1
https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-structure