Skip to content

GramIO API Reference / gramio/dist / TelegramBotCommandScopeChat

Interface: TelegramBotCommandScopeChat

Defined in: @gramio/types/out/objects.d.ts:5190

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

Documentation

Properties

PropertyTypeDescriptionDefined in
chat_idstring | numberUnique 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.@gramio/types/out/objects.d.ts:5198
type"chat"Scope type, must be chat@gramio/types/out/objects.d.ts:5194