tgbot-cpp
Loading...
Searching...
No Matches
BotCommand.h
Go to the documentation of this file.
1#ifndef TGBOT_BOTCOMMAND_H
2#define TGBOT_BOTCOMMAND_H
3
4#include <cstdint>
5#include <string>
6#include <memory>
7
8namespace TgBot {
9
17public:
18 typedef std::shared_ptr<BotCommand> Ptr;
20
21 virtual ~BotCommand() { }
22
26 std::string command;
27
31 std::string description;
32
33};
34}
35
36#endif //TGBOT_BOTCOMMAND_H
This object represents a bot command.
Definition BotCommand.h:16
std::shared_ptr< BotCommand > Ptr
Definition BotCommand.h:18
std::string command
command label.
Definition BotCommand.h:26
virtual ~BotCommand()
Definition BotCommand.h:21
std::string description
description label.
Definition BotCommand.h:31
Definition Api.h:39