export class Activity
Represents an activity that is part of a user's presence.
RichPresenceAssets | null assets :
Assets for rich presence
string[] buttons :
The labels of the buttons of this rich presence
readonlyDate createdAt :
The time the activity was created at
number createdTimestamp :
Creation date of the activity
Readonly<ActivityFlagsBitField> flags :
Flags that describe the activity
string name :
The activity's name
readonlyPresence presence :
The presence of the Activity
The sync id of the activity This property is not documented by Discord and represents the track id in spotify activities.
ActivityType type :
The activity status's type