Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GatewayActivity

Hierarchy

  • GatewayActivity

Index

Properties

application_id?: string

Application id for the game

assets?: Partial<Record<"large_image" | "large_text" | "small_image" | "small_text", string>>
buttons?: string[] | GatewayActivityButton[]

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

details?: null | string

What the player is currently doing

id: string

The activity's id

unstable
instance?: boolean

Whether or not the activity is an instanced game session

name: string

The activity's name

Information for the current party of the player

platform?: string

The platform this activity is being done on

unstable

You can use ActivityPlatform as a stepping stone, but this might be inaccurate

secrets?: Partial<Record<"match" | "join" | "spectate", string>>
session_id?: string
unstable
state?: null | string

The user's current party status

sync_id?: string

The Spotify song id

unstable

Unix timestamps for start and/or end of the game

url?: null | string

Stream url, is validated when type is 1

Generated using TypeDoc version 0.22.16, the 9/16/2022 at 1:09:16 AM