Skip to main content

StatusUpdate

@discordeno/gateway


Documentation / @discordeno/gateway / StatusUpdate

Interface: StatusUpdate

Defined in: gateway/src/types.ts:208

https://discord.com/developers/docs/topics/gateway-events#update-presence

Properties

activities?

optional activities: object[]

Defined in: gateway/src/types.ts:212

The user's activities

applicationId?

optional applicationId: string

assets?

optional assets: object

assets.largeImage?

optional assets.largeImage: string

assets.largeText?

optional assets.largeText: string

assets.smallImage?

optional assets.smallImage: string

assets.smallText?

optional assets.smallText: string

buttons?

optional buttons: object[]

details?

optional details: null | string

emoji?

optional emoji: null | { animated: boolean; id: string; name: string; }

flags?

optional flags: number

instance?

optional instance: boolean

name

name: string

party?

optional party: object

party.id?

optional party.id: string

party.size?

optional party.size: [number, number]

secrets?

optional secrets: object

secrets.join?

optional secrets.join: string

secrets.match?

optional secrets.match: string

secrets.spectate?

optional secrets.spectate: string

state?

optional state: null | string

timestamps?

optional timestamps: object

timestamps.end?

optional timestamps.end: number

timestamps.start?

optional timestamps.start: number

type

type: ActivityTypes

url?

optional url: null | string


status

status: "online" | "dnd" | "idle" | "offline"

Defined in: gateway/src/types.ts:214

The user's new status