whatsapp-business-java-api icon indicating copy to clipboard operation
whatsapp-business-java-api copied to clipboard

#153 -> including support for other API versions >= v16.0.

Open Bindambc opened this issue 5 months ago • 1 comments

Now it's possible to change the API version through the WhatsappApiConfig class. Example:

        //changing API version before instantiating the API client
        WhatsappApiConfig.setApiVersion(ApiVersion.V17_0);
        WhatsappApiFactory factory = WhatsappApiFactory.newInstance(TestConstants.TOKEN);

        WhatsappBusinessCloudApi whatsappBusinessCloudApi = factory.newBusinessCloudApi();

closes #153

Bindambc avatar Jan 27 '24 15:01 Bindambc