blob: 76b81923c6bb3ac2b521750ac3d59b305938c24d (
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
|
#ifndef TGBOT_BOTCOMMANDSCOPEDEFAULT_H
#define TGBOT_BOTCOMMANDSCOPEDEFAULT_H
#include "tgbot/types/BotCommandScope.h"
#include <memory>
namespace TgBot {
/**
* @brief Represents the default scope of bot commands.
* Default commands are used if no commands with a narrower scope are specified for the user.
*
* @ingroup types
*/
class BotCommandScopeDefault : public BotCommandScope {
public:
static const std::string TYPE;
typedef std::shared_ptr<BotCommandScopeDefault> Ptr;
BotCommandScopeDefault() {
this->type = TYPE;
}
};
}
#endif //TGBOT_BOTCOMMANDSCOPEDEFAULT_H
|