whatsapp-api-js - v5.2.0
    Preparing search index...

    Type Alias ServerSystemMessage

    type ServerSystemMessage = {
        system: {
            body: string;
            customer: string;
            identity: string;
            new_wa_id: number | string;
            type: "customer_changed_number" | "customer_identity_changed" | string;
            wa_id: string;
        };
        type: "system";
    }
    Index

    Properties

    Properties

    system: {
        body: string;
        customer: string;
        identity: string;
        new_wa_id: number | string;
        type: "customer_changed_number" | "customer_identity_changed" | string;
        wa_id: string;
    }

    Type declaration

    • body: string
    • customer: string
    • identity: string
    • new_wa_id: number | string

      Since v12.0 it is undefined, use wa_id instead.

      I'm actually stunned this exists, since I started the library with v13 or 14.

    • type: "customer_changed_number" | "customer_identity_changed" | string
    • wa_id: string
    type: "system"