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:
ファイズ
2021-07-14 23:51:59 +07:00
committed by GitHub
parent 3ce4f6cc6e
commit 46fdab76ee
3 changed files with 10 additions and 2 deletions

View File

@@ -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)