mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
added support for sending viewOnceMessage and updated README (#596)
* add support to send viewOnceMessage * Update README.md * add support send viewOnceMessage and update README * remove something irrelevant from PR Co-authored-by: LoL-Human <>
This commit is contained in:
@@ -242,7 +242,8 @@ const sections = [{title: "Section 1", rows: rows}]
|
||||
const button = {
|
||||
buttonText: 'Click Me!',
|
||||
description: "Hello it's list message",
|
||||
sections: sections
|
||||
sections: sections,
|
||||
listType: 1
|
||||
}
|
||||
|
||||
const sendMsg = await conn.sendMessage(id, button, MessageType.listMessage)
|
||||
|
||||
Reference in New Issue
Block a user