telegram.BotCommand#
- class telegram.BotCommand(*args, **kwargs)[source]#
Bases:
telegram.TelegramObjectThis object represents a bot command.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
commandanddescriptionare equal.- 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; 1-256 characters.