interface PresenceEvent {
    body: Readonly<{
        activity?: PresenceActivity;
        address: string;
        avatar?: string;
        avatarUrl?: string;
        displayName?: string;
        domain: string;
        id: string;
        mood?: PresenceMood;
        note?: string;
        online?: boolean;
        role?: "user" | "anonymous";
        username: string;
    }>;
    method: "PUT";
}

Hierarchy

  • WapiEvent
    • PresenceEvent

Properties

Properties

body: Readonly<{
    activity?: PresenceActivity;
    address: string;
    avatar?: string;
    avatarUrl?: string;
    displayName?: string;
    domain: string;
    id: string;
    mood?: PresenceMood;
    note?: string;
    online?: boolean;
    role?: "user" | "anonymous";
    username: string;
}>

Type declaration

  • Optional activity?: PresenceActivity
  • address: string
  • Optional avatar?: string
  • Optional avatarUrl?: string
  • Optional displayName?: string
  • domain: string
  • id: string
  • Optional mood?: PresenceMood
  • Optional note?: string
  • Optional online?: boolean
  • Optional role?: "user" | "anonymous"
  • username: string
method: "PUT"