- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 103
 
Description
Hi, I am using version 19 and working with template message sending.
Here’s the API creation code:
final WhatsappConfigBean whatsappConfigBean = businessConfigService.getBusinessConfiguration();
final WhatsappApiFactory factory = WhatsappApiFactory.newInstance(whatsappConfigBean.getAuthToken());
final WhatsappBusinessCloudApi whatsappBusinessCloudApi = factory.newBusinessCloudApi();
Sending the message:
final MessageResponse waResponse = whatsappBusinessCloudApi.sendMessage(
whatsappConfigBean.getPhoneNumberId(),
message
);
The issue is that we receive the waResponse in around 1 second, which feels too long for bulk message sending.
Could you please suggest how we can optimize this or whether there’s a more efficient way to handle bulk sending?