@wppconnect/wa-js - v4.7.2
    Preparing search index...

    Function getCallInfo

    • Get detailed information about the active call from the VoIP engine: duration, participants (mute and video state), result, etc.

      Parameters

      • OptionalcallId: string

      Returns Promise<any>

      const info = await WPP.call.getCallInfo();
      console.log(info.callActiveDuration, info.participants);