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
4
#include "
tgbot/types/BotCommandScope.h
"
5
6
#include <memory>
7
8
namespace
TgBot
{
9
16
class
BotCommandScopeDefault
:
public
BotCommandScope
{
17
public
:
18
static
const
std::string
TYPE
;
19
20
typedef
std::shared_ptr<BotCommandScopeDefault>
Ptr
;
21
22
BotCommandScopeDefault
() {
23
this->
type
=
TYPE
;
24
}
25
};
26
}
27
28
#endif
//TGBOT_BOTCOMMANDSCOPEDEFAULT_H
BotCommandScope.h
TgBot::BotCommandScopeDefault
Represents the default scope of bot commands. Default commands are used if no commands with a narrowe...
Definition
BotCommandScopeDefault.h:16
TgBot::BotCommandScopeDefault::TYPE
static const std::string TYPE
Definition
BotCommandScopeDefault.h:18
TgBot::BotCommandScopeDefault::Ptr
std::shared_ptr< BotCommandScopeDefault > Ptr
Definition
BotCommandScopeDefault.h:20
TgBot::BotCommandScopeDefault::BotCommandScopeDefault
BotCommandScopeDefault()
Definition
BotCommandScopeDefault.h:22
TgBot::BotCommandScope
This abstract class is base of all bot command scopes.
Definition
BotCommandScope.h:16
TgBot::BotCommandScope::type
std::string type
Scope type.
Definition
BotCommandScope.h:27
TgBot
Definition
Api.h:40
include
tgbot
types
BotCommandScopeDefault.h
Generated on Tue Jun 11 2024 00:46:34 for tgbot-cpp by
1.11.0