CommandOptions constructor

const CommandOptions(
  1. {bool? autoAcknowledgeInteractions,
  2. Duration? autoAcknowledgeDuration,
  3. bool? acceptBotCommands,
  4. bool? acceptSelfCommands,
  5. ResponseLevel? defaultResponseLevel,
  6. CommandType? type,
  7. bool? caseInsensitiveCommands}
)

Create a set of command options.

Options set to null will be inherited from the parent.

Implementation

const CommandOptions({
  this.autoAcknowledgeInteractions,
  this.autoAcknowledgeDuration,
  this.acceptBotCommands,
  this.acceptSelfCommands,
  this.defaultResponseLevel,
  this.type,
  this.caseInsensitiveCommands,
});