WhatsApp template language - Support for multiple languages?

matli 16 days ago

Can we use multiple template languages/names for WhatsApp implementation or currently limited to use one only?

<entry key='notificator.whatsapp.templateName'>TEMPLATE_NAME</entry>
<entry key='notificator.whatsapp.templateLanguage'>en_US</entry>
Anton Tananaev 16 days ago

I believe it's limited to one currently.

matli 15 days ago

Thanks Anton. Any plans to provide multiple template language support in the near future?

matli 15 days ago

Does this in general look okay?

    <!-- Notification Type CONFIG -->
    <entry key='notificator.types'>whatsapp,web,mail,sms,traccar,telegram,firebase</entry>
   
    <!-- Experimental WhatsApp -->
    <entry key='notificator.whatsapp.token'>FHuL82pSxTqA9RkLmN4QwVeB7YxJdG3RtYzUcXvBnMmLkPoIjUhGfTdRsEaQwZxCyVbNmLkP9oIjU2hGfTdRsE7aQwZxCvBnMmLkPoIjUhGfTdRsEaQwZxCyVbNmLkPZAZD</entry>
    <entry key='notificator.whatsapp.phoneNumberId'>+1908488xxxxx</entry>
    <entry key='notificator.whatsapp.templateName'>xxxxxxxxxx_alarm_alert_util_en_hx79242a615f2a9cd79586ebxxxxxxxxxx/entry>
    <entry key='notificator.whatsapp.templateLanguage'>en_US</entry>

Is it correct to have the token generated from the Meta Business Manager -> Admin User -> Generate Token?

Note: The token is fiction (not real) and so are the "xxxxxxxxx".

matli 15 days ago

Seems like I found the error - ID should be the number ID and not the actual phone number. Will test and revert.

Thanks,
Chris

Anton Tananaev 15 days ago

Assuming the values are correct, it looks good, except number id, as you already noticed.