F. Beer
F. Beer

Reputation: 69

Whatsapp Click to Chat sending an image instead of text

I want to send an image via the Whatsapp Click to Chat URL. Sending Text is easy.

https://wa.me/?text=LoremIpsum

When I click this link, it opens WhatsApp, and I can select which contact I want to send the message.

Now my question is, if its possible to also send an image through this URL. (maybe with an ?media=https://cdn.example.com/image.jpg parameter). The goal is to send an email to customers and let them click on a link so they can send an image from us to their friends.

Do I need WhatsApp Business for this? Or isn't it possible?

Thanks for any answer.

Upvotes: 6

Views: 15152

Answers (1)

amir_a14
amir_a14

Reputation: 2060

This is impossible with uri, but you can use Intents on android or use Navigator.share() method on webpages using javascript:

Android Intent: https://developer.android.com/training/sharing/send

Web Share: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share

There are similar ways for other operating systems such as iOS, Windows, ...

Upvotes: -1

Related Questions