Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 1.12 KB

options.md

File metadata and controls

18 lines (10 loc) · 1.12 KB

⚙ Options ⚙

Your bot can be customized if you want it to have a different behaviour. The options that it supports are:

client

This is an object that contains the options that will be passed to the whatsapp-web.js client. You can find the options that it supports here.

bot

This is an object that contains the options that will be passed to the @totigm/bot-builder library. You can find the options that it supports here.

Note that you won't be able to change the contentProp, textFormatting, nor authData properties, as they are fixed to match the whatsapp-web.js library.

Also, the messageEvent property only supports message and message_create events. If you set this value to message_create, messages sent by the bot will also be processed, while if you set it to message, messages sent by the bot will be ignored.