tulir / whatsmeow

Go library for the WhatsApp web multidevice API

Home Page:https://go.mau.fi/whatsmeow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

List Message not working

askareija opened this issue · comments

So i tried to send list message like this:

message := &waE2E.Message{
		ListMessage: &waE2E.ListMessage{
			Title:       proto.String("Daftar Menu"),
			Description: proto.String("Silakan lihat daftar menu dengan klik tombol dibawah"),
			ButtonText:  proto.String("ButtonText"),
			FooterText:  proto.String("Footer Section"),
			ListType:    waE2E.ListMessage_PRODUCT_LIST.Enum(),
			ProductListInfo: &waE2E.ListMessage_ProductListInfo{
				ProductSections: []*waE2E.ListMessage_ProductSection{
					{
						Title: proto.String("Row 1"),
						Products: []*waE2E.ListMessage_Product{
							{
								ProductID: proto.String("row1"),
							},
						},
					},
					{
						Title: proto.String("row 2"),
						Products: []*waE2E.ListMessage_Product{
							{
								ProductID: proto.String("row2"),
							},
						},
					},
				},
			},
		},
	}

I send it and received both on Android and web. But the button doesn't work.
gambar

when i clicked on web it doesn't show anything, and when i click on Android the WhatsApp force closed. Is there anything wrong with my code or is it doesnt supported yet?

baileys got rekt because they constantly pushed button fixes
we don't need anything button related on whatsmeow.

if you need buttons, use official API.
close the issue pls.

@ahmedRSA i'm not using buttons, i'm using list message. i'm asking why the menu list is not working, is it deprecated or there is something wrong with my code

The protobufs are defined by whatsapp, the fields and what is deprecated or not deprecated is not related to whatsmeow.

List message is working on Evolution API (https://github.com/EvolutionAPI/evolution-api)
gambar

gambar

maybe we should check that out

Are you dumb? No, you are very dumb. Sorry for the strong words, but they are needed. We got patched in a day last time, you want to try your luck again? All I will say is good luck to whatsmeow and I hope that this isn't repeated. I received this a month after re-hosting Baileys, after adiwajshing himself was hit, as a cause of this (adding the biz node within the body).

#461 (comment)