whatsapp-web.js icon indicating copy to clipboard operation
whatsapp-web.js copied to clipboard

Lists are not sent in version 1.19.2

Open zerodark17 opened this issue 3 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe the bug

Update to version 1.19.2 and now the lists and buttons are not sent

Expected behavior

Send lists and buttons

Steps to Reproduce the Bug or Issue

I dont know

Relevant Code

    const listSend = new List(
        "Seleccione el ajuste que desee aplicar",
        "Ajustes del grupo",
        list,
        "Configuraciones del grupo."
    );
    message.reply(listSend)

Browser Type

Google Chrome

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

Ubuntu 18, node18

Additional context

No response

zerodark17 avatar Jan 16 '23 20:01 zerodark17

x2

elhumbertoz avatar Jan 18 '23 21:01 elhumbertoz

Just install this branch npm i github:pedroslopez/whatsapp-web.js#fix-buttons-list https://github.com/pedroslopez/whatsapp-web.js/pull/1636 If you have an error LegacyPhoneFeatures,, Just edit file node_modules/whatsapp-web.js/src/util/injected.js

from this window.Store.Features = window.mR.findModule('FEATURE_CHANGE_EVENT')[0].LegacyPhoneFeatures;

to this window.Store.Features = window.mR.findModule('FEATURE_CHANGE_EVENT')[0]?.LegacyPhoneFeatures;

fiedzback avatar Jan 20 '23 06:01 fiedzback

i do npm i github:pedroslopez/whatsapp-web.js#fix-buttons-list in the folder of my project, and i run node example.js i write !buttons and it not working.

  • 1 i cant find what i installed
  • 2 i dont have any errors and also i try to change the line with [0]? (what you tell me) and its not work the !buttons
  • i try with node v18 and its still the same
  • i try with chromium same problem no button show no replay
  • i try with chrome also no work =[ ** i try also to delete puppeteer v13 from node moudels and i installs v18 and also its not work the same proble stay the msg button not send to me

IgalNeeman avatar Jan 21 '23 12:01 IgalNeeman