• Send a list message

    Parameters

    Returns Promise<SendMessageReturn>

    WPP.chat.sendListMessage('[number]@c.us', {
    buttonText: 'Click Me!', //required
    description: "Hello it's list message", //required
    title: 'Hello user', //optional
    footer: 'Click and choose one', //optional
    sections: [{
    title: 'Section 1',
    rows: [{
    rowId: 'rowid1',
    title: 'Row 1',
    description: "Hello it's description 1",
    },{
    rowId: 'rowid2',
    title: 'Row 2',
    description: "Hello it's description 2",
    }]
    }]
    });