CommandsOptions constructor

const CommandsOptions(
  1. {bool logErrors = true,
  2. bool autoAcknowledgeInteractions = true,
  3. Duration? autoAcknowledgeDuration,
  4. bool acceptBotCommands = false,
  5. bool acceptSelfCommands = false,
  6. ResponseLevel defaultResponseLevel = ResponseLevel.public,
  7. CommandType type = CommandType.all,
  8. bool inferDefaultCommandType = true,
  9. bool caseInsensitiveCommands = true}
)

Create a new set of CommandsOptions.

Implementation

const CommandsOptions({
  this.logErrors = true,
  this.autoAcknowledgeInteractions = true,
  this.autoAcknowledgeDuration,
  this.acceptBotCommands = false,
  this.acceptSelfCommands = false,
  this.defaultResponseLevel = ResponseLevel.public,
  this.type = CommandType.all,
  this.inferDefaultCommandType = true,
  this.caseInsensitiveCommands = true,
});