export interface GatewayActivity
https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-structure
optionalSnowflake application_id? :
Application id for the game
optionalGatewayActivityAssets assets? :
Images for the presence and their hover textsSee https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-assets
optionalGatewayActivityButton[] | string[] buttons? :
The custom buttons shown in the Rich Presence (max 2)
number created_at :
Unix timestamp of when the activity was added to the user's session
optionalGatewayActivityEmoji emoji? :
The emoji used for a custom statusSee https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-emoji
optionalActivityFlags flags? :
Activity flags OR
d 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
string id :
The activity's id
optionalboolean instance? :
Whether or not the activity is an instanced game session
string name :
The activity's name
optionalGatewayActivityParty party? :
Information for the current party of the playerSee https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-party
optionalstring platform? :
The platform this activity is being done on You can use ActivityPlatform as a stepping stone, but this might be inaccurate
optionalGatewayActivitySecrets secrets? :
Secrets for Rich Presence joining and spectatingSee https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-secrets
optionalstring session_id? :
The user's current party status, or the text used for a custom status
optionalstring sync_id? :
The Spotify song id
optionalGatewayActivityTimestamps timestamps? :
Unix timestamps for start and/or end of the game
ActivityType type :
Activity typeSee https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-types