Interface PresenceActivity

interface PresenceActivity {
    applicationID?: string;
    assets?: Partial<Record<"largeImage" | "largeText" | "smallImage" | "smallText", string>>;
    buttons?: ActivityButton[];
    createdAt: number;
    details?: null | string;
    detailsURL?: null | string;
    emoji?: null | ActivityEmoji;
    flags?: number;
    instance?: boolean;
    name: string;
    party?: ActivityParty;
    secrets?: Partial<Record<"match" | "join" | "spectate", string>>;
    state?: null | string;
    stateURL?: null | string;
    statusDisplayType?: null | StatusDisplayType;
    timestamps?: Partial<Record<"end" | "start", number>>;
    type: ActivityTypes;
    url?: null | string;
}

Hierarchy

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

Properties

applicationID?: string
assets?: Partial<Record<"largeImage" | "largeText" | "smallImage" | "smallText", string>>
buttons?: ActivityButton[]
createdAt: number
details?: null | string
detailsURL?: null | string
emoji?: null | ActivityEmoji
flags?: number
instance?: boolean
name: string
secrets?: Partial<Record<"match" | "join" | "spectate", string>>
state?: null | string
stateURL?: null | string
statusDisplayType?: null | StatusDisplayType
timestamps?: Partial<Record<"end" | "start", number>>
url?: null | string