BotCommandScopeChat#

class aiogram.types.bot_command_scope_chat.BotCommandScopeChat(*, type: ~typing.Literal[<BotCommandScopeType.CHAT: 'chat'>] = BotCommandScopeType.CHAT, chat_id: int | str, **extra_data: ~typing.Any)[source]#

Represents the scope of bot commands, covering a specific chat.

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

type: Literal[BotCommandScopeType.CHAT]#

Scope type, must be chat

chat_id: int | str#

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