Interface PresenceActivity

interface PresenceActivity {
    applicationID?: string;
    assets?: Partial<Record<"largeImage" | "largeText" | "smallImage" | "smallText", string>>;
    buttons?: ActivityButton[];
    createdAt: 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;
}

Hierarchy

  • Omit<Activity, "application_id" | "assets" | "created_at">
    • PresenceActivity

Properties

applicationID?: string
assets?: Partial<Record<"largeImage" | "largeText" | "smallImage" | "smallText", string>>
buttons?: ActivityButton[]
createdAt: 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