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

    Function removeParticipants

    • Remove participants of a group

      Parameters

      Returns Promise<void>

      // One member
      await WPP.group.removeParticipants('123456@g.us', '123456@c.us');

      // More than one member
      await WPP.group.removeParticipants('123456@g.us', ['123456@c.us','123456@c.us']);