BotCommandScope.allGroupChats constructor

const BotCommandScope.allGroupChats({
  1. @Default(BotCommandScopeType.allGroupChats) BotCommandScopeType type,
})

Represents the scope of bot commands, covering all group and supergroup chats.

Implementation

const factory BotCommandScope.allGroupChats({
  /// Scope type, always be [BotCommandScopeType.allGroupChats]
  @Default(BotCommandScopeType.allGroupChats) final BotCommandScopeType type,
}) = BotCommandScopeAllGroupChats;