This object represents a bot command.
More...
#include <Types.h>
|
| std::string | command { } |
| | Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.
|
| std::string | description { } |
| | Description of the command; 1-256 characters.
|
| std::optional< bool > | isEphemeral { } |
| | Optional. True, if the command sends an ephemeral message, which can be seen only by the sender of the message and the bot.
|
This object represents a bot command.
Definition at line 871 of file Types.h.
◆ Ptr
◆ command
| std::string TgBot::BotCommand::command { } |
Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.
Definition at line 878 of file Types.h.
◆ description
| std::string TgBot::BotCommand::description { } |
Description of the command; 1-256 characters.
Definition at line 882 of file Types.h.
◆ isEphemeral
| std::optional<bool> TgBot::BotCommand::isEphemeral { } |
Optional. True, if the command sends an ephemeral message, which can be seen only by the sender of the message and the bot.
Definition at line 887 of file Types.h.
The documentation for this struct was generated from the following file: