BotCommandScope.allChatAdministrators constructor
const
BotCommandScope.allChatAdministrators({
- @Default(BotCommandScopeType.allChatAdministrators) @JsonKey(name: 'type') BotCommandScopeType type,
Represents the scope of bot commands, covering all group and supergroup chat administrators.
Implementation
const factory BotCommandScope.allChatAdministrators({
/// Scope type, always be [BotCommandScopeType.allChatAdministrators]
@Default(BotCommandScopeType.allChatAdministrators)
@JsonKey(name: 'type')
final BotCommandScopeType type,
}) = BotCommandScopeAllChatAdministrators;