Skip to content

Taking longer time in sending template message #241

@Pankaj-111

Description

@Pankaj-111

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions