BotCommandScopeChat

class pyrogram.types.BotCommandScopeChat

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

Parameters:

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