whatsappcloudapi_wrapper icon indicating copy to clipboard operation
whatsappcloudapi_wrapper copied to clipboard

How do I insert a button url into a message?

Open GENESIS-PLUS opened this issue 2 years ago • 1 comments

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"
                    }
                ]

GENESIS-PLUS avatar Aug 06 '22 20:08 GENESIS-PLUS

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/

leobaldoneto avatar Nov 15 '22 03:11 leobaldoneto