Whatsapp-web.js: Product/Catalog

Created on 16 May 2020  路  3Comments  路  Source: pedroslopez/whatsapp-web.js

How to send a product from the catalog?

enhancement

Most helpful comment

This functionality hasn't been implemented yet. I will take a look when possible. Pull requests are welcome! :)

All 3 comments

This functionality hasn't been implemented yet. I will take a look when possible. Pull requests are welcome! :)

Hi Pedro, you implicitly receive a product type message, it would be great to send a catalog or the same products, regards.

Good morning friends :)
I send catalog through the bot.
I send you part of the code:

} else if (msg.body == 'x') {

    const contact = await msg.getContact ();
    const chat = await msg.getChat ();
    chat.sendMessage (`* Full digital menu *
    Enter Link: 馃惣
    https://wa.me/c/5214451242285

Type * 1 * to go back. `);

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

felipemm picture felipemm  路  5Comments

ocracy picture ocracy  路  5Comments

ngekoding picture ngekoding  路  5Comments

riagie picture riagie  路  6Comments

iriobf picture iriobf  路  4Comments