tgbot-cpp
Loading...
Searching...
No Matches
BotCommandScopeDefault.h
Go to the documentation of this file.
1#ifndef TGBOT_BOTCOMMANDSCOPEDEFAULT_H
2#define TGBOT_BOTCOMMANDSCOPEDEFAULT_H
3
5
6#include <memory>
7
8namespace TgBot {
9
17public:
18 static const std::string TYPE;
19
20 typedef std::shared_ptr<BotCommandScopeDefault> Ptr;
21
23 this->type = TYPE;
24 }
25};
26}
27
28#endif //TGBOT_BOTCOMMANDSCOPEDEFAULT_H
Represents the default scope of bot commands. Default commands are used if no commands with a narrowe...
std::shared_ptr< BotCommandScopeDefault > Ptr
This abstract class is base of all bot command scopes.
std::string type
Scope type.
Definition Api.h:39