telegram.BotCommand¶
-
class
telegram.
BotCommand
(command, description, **kwargs)¶ Bases:
telegram.base.TelegramObject
This object represents a bot command.
-
command
¶ Text of the command.
Type: str
-
description
¶ Description of the command.
Type: str
Parameters: - command (
str
) – Text of the command, 1-32 characters. Can contain only lowercase English letters, digits and underscores. - description (
str
) – Description of the command, 3-256 characters.
-