Auties00 / Cobalt

Standalone unofficial fully-featured Whatsapp Web and Mobile API for Java and Kotlin
MIT License
666 stars 194 forks source link

Messages with Categories like Product, Payment , Buttons, Interactions and Polls are not working fine with v0.0.7 #532

Open pcvarma-sayukth opened 2 days ago

pcvarma-sayukth commented 2 days ago

@Auties00 I am just reporting the Test Results of the Messages with v0.0.7 I have used Android Business Account and WEB Device for the following test cases for the Messages.

I have a couple of Questions,

1. Using Whatsapp Business Account & Device.Web is it possible to send the following Message Types to a JID having whatsapp account? Please let me know

HighlyStructuredMessage SendPaymentMessage RequestPaymentMessage TemplateMessage ProductMessage ListMessage PaymentOrderMessage PaymentInvoiceMessage ButtonsMessage InteractiveMessage PollCreationMessage PollUpdateMessage

1. Using Whatsapp Business Account & Device.Web is it possible to read the following Message Types from a JID having whatsapp

ButtonsResponseMessage ListResponseMessage

When tried to implement the code it is working fine for the Standard Messages. I am not able to make it for the Message types like Product, Payment , Buttons, Interactions and Poll etc.

Please let me know if i am missing something. Please guide us how to make these uses cases working

Thanks in advance.

Auties00 commented 2 days ago

@Auties00 I am just reporting the Test Results of the Messages with v0.0.7 I have used Android Business Account and WEB Device for the following test cases for the Messages.

I have a couple of Questions, #1. Using Whatsapp Business Account & Device.Web is it possible to send the following Message Types to a JID having whatsapp account? Please let me know HighlyStructuredMessage SendPaymentMessage RequestPaymentMessage TemplateMessage ProductMessage ListMessage PaymentOrderMessage PaymentInvoiceMessage ButtonsMessage InteractiveMessage PollCreationMessage PollUpdateMessage

1. Using Whatsapp Business Account & Device.Web is it possible to read the following Message Types from a JID having whatsapp ButtonsResponseMessage ListResponseMessage

When tried to implement the code it is working fine for the Standard Messages. I am not able to make it for the Message types like Product, Payment , Buttons, Interactions and Poll etc.

Please let me know if i am missing something. Please guide us how to make these uses cases working

Thanks in advance.

These messages exist in the Whatsapp proto, but they are filtered from the server, so you would need an account which was has the meta verified green tick next to it to send them(recently also InteractiveMessage if I'm not mistaken): HighlyStructuredMessage TemplateMessage ListMessage ButtonsMessage InteractiveMessage

These work: ProductMessage SendPaymentMessage RequestPaymentMessage PaymentOrderMessage PaymentInvoiceMessage PollCreationMessage PollUpdateMessage

pcvarma-sayukth commented 2 days ago

Hi Auties Thanks for your prompt response.

I am getting the Template, Interactive Messages from some business accounts with blue tick (PFA). But those messages were sent by WhatsApp business cloud api.

We are also testing the Business account verified by and having blue tick, still we are not able send message with Cobalt.

Looks like there is a difference between Cobalt which is emulation of the Whtasapp Web and the Business cloud API . Please advise.

Or

Is there limitations with Cobalt WEB compared to Cobalt mobile. I will test with Cobalt Mobile and let you know in next 2 days.

PFA

P C Varma | https://twitter.com/pcvarma https://www.linkedin.com/in/pcvarma/

CEO, SaYukth Technologies Private Limited @.*** | www.sayukth.com

On Mon, 25 Nov 2024 at 12:59 AM, Alessandro Autiero < @.***> wrote:

@Auties00 https://github.com/Auties00 I am just reporting the Test Results of the Messages with v0.0.7 I have used Android Business Account and WEB Device for the following test cases for the Messages.

I have a couple of Questions, #1 https://github.com/Auties00/Cobalt/issues/1. Using Whatsapp Business Account & Device.Web is it possible to send the following Message Types to a JID having whatsapp account? Please let me know HighlyStructuredMessage SendPaymentMessage RequestPaymentMessage TemplateMessage ProductMessage ListMessage PaymentOrderMessage PaymentInvoiceMessage ButtonsMessage InteractiveMessage PollCreationMessage PollUpdateMessage

1 https://github.com/Auties00/Cobalt/issues/1. Using Whatsapp Business

Account & Device.Web is it possible to read the following Message Types from a JID having whatsapp ButtonsResponseMessage ListResponseMessage

When tried to implement the code it is working fine for the Standard Messages. I am not able to make it for the Message types like Product, Payment , Buttons, Interactions and Poll etc.

Please let me know if i am missing something. Please guide us how to make these uses cases working

Thanks in advance.

These messages exist in the Whatsapp proto, but they are filtered from the server, so you would need an account which was has the meta verified green tick next to it to send them(recently also InteractiveMessage if I'm not mistaken): HighlyStructuredMessage TemplateMessage ListMessage ButtonsMessage InteractiveMessage

These work: ProductMessage SendPaymentMessage RequestPaymentMessage PaymentOrderMessage PaymentInvoiceMessage PollCreationMessage PollUpdateMessage

— Reply to this email directly, view it on GitHub https://github.com/Auties00/Cobalt/issues/532#issuecomment-2496185792, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ3GAFEUSK7BM3PMW4D3BM32CISIVAVCNFSM6AAAAABSL6MWS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJWGE4DKNZZGI . You are receiving this because you authored the thread.Message ID: @.***>