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

Duda sobre envio de mensajes "Send text message" #6

Closed
Albertiko74 opened this issue Oct 18, 2022 · 1 comment
Closed

Duda sobre envio de mensajes "Send text message" #6

Albertiko74 opened this issue Oct 18, 2022 · 1 comment

Comments

@Albertiko74
Copy link

En la documentación para enviar un mensaje aplicando whatsapp 2.0.0 aparece como:

whatsapp.messagesTemplate(
to: 910000000000,
message: "Hey, Flutter, follow me on https://example.com",
previewUrl: true
);
Esto es correcto?

Cuando utilizo ya configurado en flutter "whatsapp 2.0.0" si funciona con messagesTemplate y recibo en mi celular el mensaje del template de developer facebook, pero cuando lo intento con:

whatsapp.messagesText(
to: 910000000000,
message: "Hey, Flutter, follow me on https://example.com",
previewUrl: true
);

No recibo el mensaje en mi celular, aplique flutter logs y aparece lo siguiente:

evidencia envio WHATSAPP

@rohit-chouhan
Copy link
Owner

if logs is return as

'{ "messaging_product": "whatsapp", "to": "15555555555", "type": "template", "template": { "name": "hello_world", "language": { "code": "en_US" } } }'

that's mean, its correct

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