BotCommandScopeChatMember

class pyrogram.types.BotCommandScopeChatMember

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

Parameters:
  • chat_id (int | str) – Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername).

  • user_id (int | str) – Unique identifier of the target user.