whatsapp-business-java-api
whatsapp-business-java-api copied to clipboard
Taking longer time in sending template message
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?
Hello and welcome! We're glad to see that you've opened your first issue. We appreciate your contribution and would love to hear more about the problem you're experiencing. Our team is actively monitoring this repository and we will do our best to respond to your issue as soon as possible. Thank you for using our project and we look forward to working with you!