summaryrefslogtreecommitdiff
path: root/include/tgbot/types/BotCommandScope.h
blob: 47a3ee9e64a14677abc4543a1513e861dd284bf2 (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
#ifndef TGBOT_BOTCOMMANDSCOPE_H
#define TGBOT_BOTCOMMANDSCOPE_H

#include <memory>
#include <string>

namespace TgBot {

/**
 * @brief This abstract class is base of all bot command scopes.
 * 
 * This object represents the scope to which bot commands are applied.
 *
 * @ingroup types
 */
class BotCommandScope {
public:
    typedef std::shared_ptr<BotCommandScope> Ptr;

    BotCommandScope() {}

    virtual ~BotCommandScope() {}

    /**
     * @brief Scope type
     */
    std::string type;
};
}

#endif //TGBOT_BOTCOMMANDSCOPE_H