Optional
application_Application id for the game
Optional
assetsImages for the presence and their hover texts
See https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-assets
Optional
buttonsThe custom buttons shown in the Rich Presence (max 2)
Unix timestamp of when the activity was added to the user's session
Optional
detailsWhat the player is currently doing
Optional
emojiThe emoji used for a custom status
See https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-emoji
Optional
flagsActivity flags OR
d together, describes what the payload includes
See https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-flags
The activity's id
Optional
instanceWhether or not the activity is an instanced game session
The activity's name
Optional
partyInformation for the current party of the player
See https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-party
Optional
platformThe platform this activity is being done on
You can use ActivityPlatform as a stepping stone, but this might be inaccurate
Optional
secretsSecrets for Rich Presence joining and spectating
See https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-secrets
Optional
session_Optional
stateThe user's current party status, or the text used for a custom status
Optional
sync_The Spotify song id
Optional
timestampsUnix timestamps for start and/or end of the game
Optional
urlStream url, is validated when type is 1
Generated using TypeDoc
https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-structure