Client Options

There are several additional options you can use in the client constructor.

All Options:

  • name (required Strings) - Bot Name

  • prefix (required Strings) - Bot Prefix

  • printQRInTerminal (optional Boolean) - Print the QR code to terminal?

  • autoRead (optional Boolean) - Auto read the message?

  • authFile (optional Strings) - Path to session file.

Name
Default

name

prefix

printQRInTerminal

true

autoRead

false

authFile

./state.json

Last updated

Was this helpful?