• A Node 15 to 17 quick setup for the WhatsAppAPI

    Parameters

    • settings: WhatsAppAPIConstructorArguments

      The WhatsAppAPI arguments

    • fetch: ((input, init?) => Promise<Response>)

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

        • (input, init?): Promise<Response>
        • Parameters

          • input: RequestInfo
          • Optional init: RequestInit

          Returns Promise<Response>

    Returns WhatsAppAPIConstructorArguments

    A WhatsAppAPI arguments object for Node 15 to 17

    Deprecated

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

Generated using TypeDoc