BotCommandScopeChatMember#

class aiogram.types.bot_command_scope_chat_member.BotCommandScopeChatMember(*, type: str = 'chat_member', chat_id: Union[int, str], user_id: int, **extra_data: Any)[source]#

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

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

type: str#

Scope type, must be chat_member

chat_id: Union[int, str]#

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

user_id: int#

Unique identifier of the target user