Skip to content

GramIO API Reference / gramio/dist / TelegramBotCommandScopeChat

Interface: TelegramBotCommandScopeChat

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

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 @username. Channel direct messages chats and channel chats aren't supported.@gramio/types/out/objects.d.ts:5804
type"chat"Scope type, must be chat@gramio/types/out/objects.d.ts:5800