Your bot can be customized if you want it to have a different behaviour. The options that it supports are:
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.
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.