interface PresenceEvent {
    content: {
        avatar_url?: string;
        currently_active?: boolean;
        last_active_ago?: number;
        presence: "online" | "offline" | "unavailable";
        status_msg?: string;
    };
    sender: string;
    type: "m.presence";
}

Properties

Properties

content: {
    avatar_url?: string;
    currently_active?: boolean;
    last_active_ago?: number;
    presence: "online" | "offline" | "unavailable";
    status_msg?: string;
}

Type declaration

  • Optional avatar_url?: string
  • Optional currently_active?: boolean
  • Optional last_active_ago?: number
  • presence: "online" | "offline" | "unavailable"
  • Optional status_msg?: string
sender: string
type: "m.presence"

Generated using TypeDoc