blob: 5ad057b0fc7fe63fac2fe87a8e6e29dc4c534f7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef TGBOT_BOTCOMMAND_H
#define TGBOT_BOTCOMMAND_H
#include <cstdint>
#include <string>
#include <memory>
namespace TgBot {
/**
* @brief This object represents a bot command.
*
* https://core.telegram.org/bots/api#botcommand
* @ingroup types
*/
class BotCommand {
public:
typedef std::shared_ptr<BotCommand> Ptr;
BotCommand() { }
virtual ~BotCommand() { }
/**
* @brief command label.
*/
std::string command;
/**
* @brief description label.
*/
std::string description;
};
}
#endif //TGBOT_BOTCOMMAND_H
|