@wppconnect-team/wppconnect - v1.36.4
    Preparing search index...

    Interface PresenceEvent

    interface PresenceEvent {
        id: string;
        isContact?: boolean;
        isGroup: boolean;
        isOnline: boolean;
        isUser: boolean;
        participants?: {
            id: string;
            shortName: string;
            state: "available" | "composing" | "recording" | "unavailable";
        }[];
        state: "available"
        | "composing"
        | "recording"
        | "unavailable";
        t: number;
    }
    Index

    Properties

    id: string

    ID of contact or group

    isContact?: boolean

    If is an user, check is a contact

    isGroup: boolean
    isOnline: boolean
    isUser: boolean
    participants?: {
        id: string;
        shortName: string;
        state: "available" | "composing" | "recording" | "unavailable";
    }[]
    state: "available" | "composing" | "recording" | "unavailable"
    t: number

    Timestramp of event Date.now()