Bindambc / whatsapp-business-java-api

Whatsapp business api SDK, written in java. This SDK implements the Official Whatsapp Cloud API and WhatsApp Business Management API. These allows you to: manage your WhatsApp Business Account assets, such as message templates and phone numbers; send messages to your contacts, such as simple text messages, messages with buttons...
https://bindambc.github.io/whatsapp-business-java-api/
MIT License
155 stars 74 forks source link

Feature: Retrieval of templates using templateId #199

Open alexOAppS opened 1 month ago

alexOAppS commented 1 month ago

A function already uses whatsappBusinessAccountId and templateName to fetch the specific template. But using the templateId to fetch is more reliable and standardized. I recommend that this functionality will be useful in many cases

enhancement

github-actions[bot] commented 1 month ago

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!

tmoreira2020 commented 1 month ago

hey @alexOAppS, thanks for the suggestion but I'm not sure if this endpoint is available on Meta's API.

Looking this page https://developers.facebook.com/docs/whatsapp/business-management-api/message-templates#retrieve-templates I cannot find a endpoit that can be use to retrive by ID.

Am I missing something?

Thanks