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

    Function Node15

    • A Node 15 to 17 quick setup for the WhatsAppAPI

      Parameters

      • settings: WhatsAppAPIConstructorArguments

        The WhatsAppAPI arguments

      • fetch_ponyfill: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        }

        The fetch ponyfill function to use (e.g. node-fetch or undici)

          • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
          • Parameters

            • input: URL | RequestInfo
            • Optionalinit: RequestInit

            Returns Promise<Response>

          • (input: string | URL | Request, init?: RequestInit): Promise<Response>
          • Parameters

            • input: string | URL | Request
            • Optionalinit: RequestInit

            Returns Promise<Response>

      Returns WhatsAppAPIConstructorArguments

      A WhatsAppAPI arguments object for Node 15 to 17

      Node 15 to 17 reached EoL and are no longer supported by the library