tgbot-cpp
Loading...
Searching...
No Matches
BotCommandScopeAllPrivateChats.h
Go to the documentation of this file.
1
#ifndef TGBOT_BOTCOMMANDSCOPEALLPRIVATECHATS_H
2
#define TGBOT_BOTCOMMANDSCOPEALLPRIVATECHATS_H
3
4
#include "
tgbot/types/BotCommandScope.h
"
5
6
#include <memory>
7
8
namespace
TgBot
{
9
15
class
BotCommandScopeAllPrivateChats
:
public
BotCommandScope
{
16
public
:
17
static
const
std::string
TYPE
;
18
19
typedef
std::shared_ptr<BotCommandScopeAllPrivateChats>
Ptr
;
20
21
BotCommandScopeAllPrivateChats
() {
22
this->
type
=
TYPE
;
23
}
24
};
25
}
26
27
#endif
//TGBOT_BOTCOMMANDSCOPEALLPRIVATECHATS_H
BotCommandScope.h
TgBot::BotCommandScopeAllPrivateChats
Represents the scope of bot commands, covering all private chats.
Definition
BotCommandScopeAllPrivateChats.h:15
TgBot::BotCommandScopeAllPrivateChats::Ptr
std::shared_ptr< BotCommandScopeAllPrivateChats > Ptr
Definition
BotCommandScopeAllPrivateChats.h:19
TgBot::BotCommandScopeAllPrivateChats::TYPE
static const std::string TYPE
Definition
BotCommandScopeAllPrivateChats.h:17
TgBot::BotCommandScopeAllPrivateChats::BotCommandScopeAllPrivateChats
BotCommandScopeAllPrivateChats()
Definition
BotCommandScopeAllPrivateChats.h:21
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
BotCommandScopeAllPrivateChats.h
Generated on Tue Jun 11 2024 00:46:34 for tgbot-cpp by
1.11.0