@wppconnect/wa-js - v4.8.4-rc.0
    Preparing search index...

    Function end

    • End a call using the WhatsApp Web native VoIP stack

      Parameters

      • OptionalcallId: string

      Returns Promise<boolean>

      // End any call
      WPP.call.end();

      // End only if the active call is this one
      WPP.call.end(callId);