wppconnect-team / wppconnect-server

Wppconnect Server is a ready-to-use API, just download, install, and start using, simple as that.
https://wppconnect.io/swagger/wppconnect-server/
Apache License 2.0
615 stars 351 forks source link

Allow Title and Footer in text messages #1697

Open lupainformatica opened 5 months ago

lupainformatica commented 5 months ago

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?

icleitoncosta commented 5 months ago

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.

lupainformatica commented 5 months ago

This is the regular message with title and footer

image

And here in the business oficial templates image

icleitoncosta commented 5 months ago

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.

lupainformatica commented 5 months ago

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.

edgardmessias commented 5 months ago

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

lupainformatica commented 5 months ago

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

icleitoncosta commented 5 months ago

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.