interface Activity {
    application_id?: string;
    assets?: Partial<Record<"large_image" | "large_text" | "small_image" | "small_text", string>>;
    buttons?: ActivityButton[];
    created_at: number;
    details?: null | string;
    emoji?: null | ActivityEmoji;
    flags?: number;
    instance?: boolean;
    name: string;
    party?: ActivityParty;
    secrets?: Partial<Record<"match" | "join" | "spectate", string>>;
    state?: null | string;
    timestamps?: Partial<Record<"end" | "start", number>>;
    type: ActivityTypes;
    url?: null | string;
}

Properties

application_id?: string
assets?: Partial<Record<"large_image" | "large_text" | "small_image" | "small_text", string>>
buttons?: ActivityButton[]
created_at: number
details?: null | string
emoji?: null | ActivityEmoji
flags?: number
instance?: boolean
name: string
secrets?: Partial<Record<"match" | "join" | "spectate", string>>
state?: null | string
timestamps?: Partial<Record<"end" | "start", number>>
url?: null | string