Skip to content

BotCommandScopeChat

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

2 fields, 2 required.

Fields

type "chat" Required
Scope type, must be chat.

chat_id number | string Required
Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername). Channel direct messages chats and channel chats aren’t supported.