Skip to content

GramIO API Reference / gramio/dist / TelegramBotCommand

Interface: TelegramBotCommand

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

This object represents a bot command.

Documentation

Properties

PropertyTypeDescriptionDefined in
commandstringText of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.@gramio/types/out/objects.d.ts:5710
descriptionstringDescription of the command; 1-256 characters@gramio/types/out/objects.d.ts:5714
is_ephemeral?booleanOptional. True, if the command sends an ephemeral message, which can be seen only by the sender of the message and the bot@gramio/types/out/objects.d.ts:5718