Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List Message not working #600

Closed
askareija opened this issue May 30, 2024 · 6 comments
Closed

List Message not working #600

askareija opened this issue May 30, 2024 · 6 comments

Comments

@askareija
Copy link

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?

@ahmedRSA
Copy link

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.

@askareija
Copy link
Author

@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

@hrizal
Copy link

hrizal commented May 30, 2024 via email

@tulir
Copy link
Owner

tulir commented May 30, 2024

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

@tulir tulir closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
@askareija
Copy link
Author

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

gambar

maybe we should check that out

@ahmedRSA
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants