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