Releases
v3.0.0
Compare
Sorry, something went wrong.
No results found
Core
Switch core library from @adiwajshing/baileys to @whiskeysockets/baileys@6.3.1.
Rename bot.whats (core object) to bot.core.
Rename dist directory to lib (constant will be affected).
Changes
new style on bot.command use (see #command-options ).
ctx.reply can also accept only a string as a parameter with the text to be sent.
adding context param to second parameter in message upsert event.
Added
bot.hears - Same as bot.command but without the prefix. You can also use this function to listen to any type of message (see #misc ).
VCardBuilder - Makes it easier when you want to send a contact with a VCard (see #contact ).
TemplateButtonsBuilder - Like a normal button but there is a kind of "attachment" (see #template-buttons ).
ctx.getMessageType() - Gets what type of message the message was received.
ctx.read() - Read the message.
ctx.simulateTyping() - simulate typing state...
qrTimeout & markOnlineOnConnect in Client Configuration (see #client-configuration ).
MessageType constant.
ctx.getMediaMessage() - Downloading media message purpose (see #downloading-media ).
You can’t perform that action at this time.