BotCommandScope.default_ constructor

const BotCommandScope.default_({
  1. @JsonKey(name: 'type') @Default(BotCommandScopeType.default_) BotCommandScopeType type,
})

Represents the scope of bot commands, covering all private chats.

Implementation

const factory BotCommandScope.default_({
  /// Scope type, always be [BotCommandScopeType.default_]
  @JsonKey(name: 'type')
  @Default(BotCommandScopeType.default_)
  final BotCommandScopeType type,
}) = BotCommandScopeDefault;