fix(list-message): use SINGLE_SELECT instead of PRODUCT_LIST in generateListMessageLegacy

PRODUCT_LIST type requires WhatsApp Business catalog data and causes
error 479 for regular menu lists. SINGLE_SELECT is the correct type
for interactive menu lists with sections/rows.

https://claude.ai/code/session_01SJdSHiUxtwzV8bb5dedodb
This commit is contained in:
Claude
2026-02-06 05:17:39 +00:00
parent d60d514011
commit 6425e06543
+1 -1
View File
@@ -1020,7 +1020,7 @@ export const generateListMessageLegacy = (
description,
buttonText,
footerText: footer,
listType: WAProto.Message.ListMessage.ListType.PRODUCT_LIST,
listType: WAProto.Message.ListMessage.ListType.SINGLE_SELECT,
sections: listInfo.sections.map(section => ({
title: section.title,
rows: section.rows.map(row => ({