whatsappcloudapi_wrapper
whatsappcloudapi_wrapper copied to clipboard
How do I insert a button url into a message?
There is one in the facebook documentation, but how to use it here?
"type": "button",
"index": "0",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "1Z999AA10123456784"
}
]
These type of interactive message are from templates message, they need to be pre approved by Meta. These are not implemented in this wrapper.
https://developers.facebook.com/docs/whatsapp/api/messages/message-templates/interactive-message-templates/