Skip to content

ActivityStructure

Properties

name

name: string

Defined in

typings/activity.ts:6


type

type: ActivityType

Defined in

typings/activity.ts:7


url?

optional url: null | string

Defined in

typings/activity.ts:8


created_at

created_at: number

Defined in

typings/activity.ts:9


timestamps?

optional timestamps: object

start?

optional start: number

end?

optional end: number

Defined in

typings/activity.ts:10


application_id?

optional application_id: string

Defined in

typings/activity.ts:14


details?

optional details: null | string

Defined in

typings/activity.ts:15


state?

optional state: null | string

Defined in

typings/activity.ts:16


emoji?

optional emoji: object

name

name: string

id?

optional id: string

animated?

optional animated: boolean

Defined in

typings/activity.ts:17


party?

optional party: object

id?

optional id: string

size?

optional size: [number, number]

Defined in

typings/activity.ts:22


assets?

optional assets: object

large_image?

optional large_image: string

large_text?

optional large_text: string

small_image?

optional small_image: string

small_text?

optional small_text: string

Defined in

typings/activity.ts:26


secrets?

optional secrets: object

join?

optional join: string

spectate?

optional spectate: string

match?

optional match: string

Defined in

typings/activity.ts:32


instance?

optional instance: boolean

Defined in

typings/activity.ts:37


flags?

optional flags: number

Bitfield of ActivityFlags

Defined in

typings/activity.ts:41


buttons?

optional buttons: object[]

Defined in

typings/activity.ts:42