英文:
web whatsapp send text and imagen
问题
我正在尝试使用WhatsApp Web的URL发送消息,目前我只能发送文本消息,这是我的代码,它可以工作。
<a href="https://web.whatsapp.com/send?text= !!! 这是我的代码 0H78RT !!! %0A https://mypublicUrl.com.co/documents?gad=1"
rel="nofollow noopener"
target="_blank"
className="share-icon">
通过WhatsApp分享
</a>
但是我需要添加一个像这样的图片,我尝试在URL的末尾使用&image="https://panda.png"
,但这不起作用。这是我需要展示的最终结果。
英文:
I'm try to send a message with whatsapp web url, right now i can send the message but just the text, this is my code and works.
<a href="https://web.whatsapp.com/send?text= !!! This is my code 0H78RT !!! %0A https://mypublicUrl.com.co/documents?gad=1"
rel="nofollow noopener"
target="_blank"
className="share-icon">
Share via Whatsapp
</a>
But i need add a imagen like this, I have been try to use &image="https://panda.png" at the end od the url, but this doesn't works. this is the final result I need to deployd.
答案1
得分: 2
为了发送图片(和其他媒体),您需要在WhatsApp商业解决方案提供商中注册一个帐户。
其中最好的是360dialog。
为了构建媒体消息、交互式消息甚至更多功能,我建议您注册get.chat Inbox。
作为联合创始人和首席技术官,如果您想了解更多关于我们解决方案的信息,我很乐意回答任何问题。如果您有兴趣自行了解更多信息,这里还有一个API文档的链接。
英文:
In order to send images (and other media), you would need an account with one of the WhatsApp Business Solution Providers.
The best of them is 360dialog.
To build media messages, interactive messages and even more, I recommend you registering for get.chat Inbox.
I am a co-founder and CTO so I am open to answer any questions if you want to know more about our solution. Here is also a link to the API docs if you're interested in learning more by yourself.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论