export interface GatewayActivityhttps://discord.com/developers/docs/topics/gateway-events#activity-object-activity-structure
optionalexternalapplication_id? : Snowflake
Application id for the game
optionalexternalassets? : GatewayActivityAssets
Images for the presence and their hover textsSee https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-assets
optionalexternalbuttons? : GatewayActivityButton[] | string[]
The custom buttons shown in the Rich Presence (max 2)
externalcreated_at : number
Unix timestamp of when the activity was added to the user's session
optionalexternalemoji? : GatewayActivityEmoji
The emoji used for a custom statusSee https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-emoji
optionalexternalflags? : ActivityFlags
Activity flags ORd together, describes what the payload includesSee https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-flagsSee https://en.wikipedia.org/wiki/Bit_field
externalid : string
The activity's id
optionalexternalinstance? : boolean
Whether or not the activity is an instanced game session
externalname : string
The activity's name
optionalexternalparty? : GatewayActivityParty
Information for the current party of the playerSee https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-party
optionalexternalplatform? : string
The platform this activity is being done on You can use ActivityPlatform as a stepping stone, but this might be inaccurate
optionalexternalsecrets? : GatewayActivitySecrets
Secrets for Rich Presence joining and spectatingSee https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-secrets
optionalexternalsession_id? : string
The user's current party status, or the text used for a custom status
optionalexternalsync_id? : string
The Spotify song id
optionalexternaltimestamps? : GatewayActivityTimestamps
Unix timestamps for start and/or end of the game
externaltype : ActivityType
Activity typeSee https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-types