Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending Template Message - does heyoo (v.0.0.6) accept only english language? #47

Closed
DvdMtta opened this issue Dec 9, 2022 · 2 comments

Comments

@DvdMtta
Copy link

DvdMtta commented Dec 9, 2022

Template messages are sent only for english language?
Is it possible to send template messages for different languages?
If so, how is it possible? None example in your docs has this feature.
Thanks in advance.
Regards
Davide

@DvdMtta
Copy link
Author

DvdMtta commented Dec 9, 2022

In order to send template message for a specific language, I've found this solution working for me:

send_template(templateID, recipientID, lang=LanguageCode)

LanguageCode is referred to this Wa developer page (https://developers.facebook.com/docs/whatsapp/api/messages/message-templates/)

Regards

@Kalebu
Copy link
Contributor

Kalebu commented Dec 13, 2022

Thank you @DvdMtta

I'm sure this is going to help others facing the same issue

I will now close this issue

@Kalebu Kalebu closed this as completed Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants