BotCommandScopeChatAdministrators#

class aiogram.types.bot_command_scope_chat_administrators.BotCommandScopeChatAdministrators(*, type: ~typing.Literal[<BotCommandScopeType.CHAT_ADMINISTRATORS: 'chat_administrators'>] = BotCommandScopeType.CHAT_ADMINISTRATORS, chat_id: int | str, **extra_data: ~typing.Any)[source]#

Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.

Source: https://core.telegram.org/bots/api#botcommandscopechatadministrators

type: Literal[BotCommandScopeType.CHAT_ADMINISTRATORS]#

Scope type, must be chat_administrators

chat_id: int | str#

Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)