6

Basically I want to send an image and some texts to WhatsApp from my website when the user clicks on the chat with WhatsApp icon

So I want to redirect users from my website to my WhatsApp chat! I know we can add a text parameter to the WhatsApp API URL like this:

https://api.whatsapp.com/send?phone=123456789&text=this is a test

But the fact is I want to add like an image parameter with the text parameter in the URL, for ex like this:

https://api.whatsapp.com/send?phone=123456789&text=this is a test&img=[my-image]

1 Answers1

-2

source_url but your text won't show (it's the text or the image)

Chris
  • 1
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Apr 15 '22 at 08:13