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
8
namespace
TgBot
{
9
16
class
BotCommand
{
17
public
:
18
typedef
std::shared_ptr<BotCommand>
Ptr
;
19
BotCommand
() { }
20
21
virtual
~BotCommand
() { }
22
26
std::string
command
;
27
31
std::string
description
;
32
33
};
34
}
35
36
#endif
//TGBOT_BOTCOMMAND_H
TgBot::BotCommand
This object represents a bot command.
Definition
BotCommand.h:16
TgBot::BotCommand::Ptr
std::shared_ptr< BotCommand > Ptr
Definition
BotCommand.h:18
TgBot::BotCommand::command
std::string command
command label.
Definition
BotCommand.h:26
TgBot::BotCommand::BotCommand
BotCommand()
Definition
BotCommand.h:19
TgBot::BotCommand::~BotCommand
virtual ~BotCommand()
Definition
BotCommand.h:21
TgBot::BotCommand::description
std::string description
description label.
Definition
BotCommand.h:31
TgBot
Definition
Api.h:40
include
tgbot
types
BotCommand.h
Generated on Tue Jun 11 2024 00:46:34 for tgbot-cpp by
1.11.0