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:
@@ -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 => ({
|
||||
|
||||
Reference in New Issue
Block a user