tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
This object represents a bot command. https://core.telegram.org/bots/api#botcommand. More...
#include <BotCommand.hpp>
Public Member Functions | |
BotCommand ()=default | |
BotCommand (const nl::json &json) | |
nl::json | toJson () const |
void | fromJson (const nl::json &json) |
Public Attributes | |
std::string | command |
Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores. More... | |
std::string | description |
Description of the command; 1-256 characters. More... | |
This object represents a bot command. https://core.telegram.org/bots/api#botcommand.
Definition at line 8 of file BotCommand.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file BotCommand.hpp.
|
inline |
Definition at line 27 of file BotCommand.hpp.
|
inline |
Definition at line 20 of file BotCommand.hpp.
std::string tgbotxx::BotCommand::command |
Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.
Definition at line 15 of file BotCommand.hpp.
std::string tgbotxx::BotCommand::description |
Description of the command; 1-256 characters.
Definition at line 18 of file BotCommand.hpp.