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

    Function offerGroup

    • Start a group call, with all members of a group or with a list of contacts

      When the group has a single other member, WhatsApp places a 1:1 call and the returned call has isGroup false.

      Parameters

      Returns Promise<CallModel | undefined>

      // Call all members of a group
      const call = await WPP.call.offerGroup('[group-id]@g.us');

      // Call a list of contacts
      const call = await WPP.call.offerGroup(
      ['[number1]@c.us', '[number2]@c.us'],
      { isVideo: true }
      );