export interface GatewayActivitySee also: https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-structure
optionalapplication_id? : Snowflake
Application id for the game
optionalassets? : GatewayActivityAssets
Images for the presence and their hover texts
See also: https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-assets
optionalbuttons? : GatewayActivityButton[] | string[]
The custom buttons shown in the Rich Presence (max 2)
created_at : number
Unix timestamp of when the activity was added to the user's session
optionalemoji? : GatewayActivityEmoji
The emoji used for a custom status
See also: https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-emoji
optionalflags? : ActivityFlags
Activity flags ORd together, describes what the payload includes
See also: https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-flagshttps://en.wikipedia.org/wiki/Bit_field
id : string
The activity's id
optionalinstance? : boolean
Whether or not the activity is an instanced game session
name : string
The activity's name
optionalparty? : GatewayActivityParty
Information for the current party of the player
See also: https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-party
optionalplatform? : string
The platform this activity is being done on You can use ActivityPlatform as a stepping stone, but this might be inaccurate
optionalsecrets? : GatewayActivitySecrets
Secrets for Rich Presence joining and spectating
See also: https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-secrets
optionalsession_id? : string
optionalsync_id? : string
The Spotify song id
optionaltimestamps? : GatewayActivityTimestamps
Unix timestamps for start and/or end of the game
type : ActivityType
Activity type
See also: https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-types