wppconnect-server icon indicating copy to clipboard operation
wppconnect-server copied to clipboard

Allow Title and Footer in text messages

Open lupainformatica opened this issue 1 year ago • 7 comments

In official whatsapp business, all message templates can have a title and a footer message. In Wppconnect only button templates and lists can have it. Could be possible add title and footer to normal text messages?

lupainformatica avatar Jan 23 '24 15:01 lupainformatica

Could you send us an example of the message (photo) or a contact so that we can test it?

It might be possible, but I've never seen a regular text message with a title and footer.

icleitoncosta avatar Jan 23 '24 16:01 icleitoncosta

This is the regular message with title and footer

image

And here in the business oficial templates image

lupainformatica avatar Jan 23 '24 16:01 lupainformatica

Do you have the contact of someone (automated) who sends these messages like this?

We can test the possibility; I even have an idea of how the test would be, but with a valid contact, some information beforehand.

icleitoncosta avatar Jan 23 '24 19:01 icleitoncosta

Hi @icleitoncosta , I am sending both messages. I WB official and Wppconnect. If you wish we, you can call me on Google Meet and we can do the tests.

lupainformatica avatar Jan 24 '24 11:01 lupainformatica

We can check the ExtendedTextMessage proto type, that there are the title and descriptions attributes

edgardmessias avatar Jan 24 '24 11:01 edgardmessias

I think it could be placed in SendMessageOptions just like in MessageButtonsOptions. It could have the title and footer properties

lupainformatica avatar Jan 24 '24 11:01 lupainformatica

We can check the ExtendedTextMessage proto type, that there are the title and descriptions attributes

Yes, yesterday I conducted a test by modifying the extendedTextMessage, adding a title and footer, but without success. I would need some example messages because their type might be an interactiveMessage or templateMessage.

icleitoncosta avatar Jan 24 '24 11:01 icleitoncosta