Base class of all bot commands scopes This object represents the scope to which bot commands are applied. Currently, the following 7 scopes are supported: BotCommandScopeDefault BotCommandScopeAllPrivateChats BotCommandScopeAllGroupChats BotCommandScopeAllChatAdministrators BotCommandScopeChat BotCommandScopeChatAdministrators BotCommandScopeChatMember https://core.telegram.org/bots/api#botcommandscope.
More...
#include <BotCommandScope.hpp>
◆ BotCommandScope() [1/2]
tgbotxx::BotCommandScope::BotCommandScope |
( |
| ) |
|
|
default |
◆ BotCommandScope() [2/2]
tgbotxx::BotCommandScope::BotCommandScope |
( |
const nl::json & |
json | ) |
|
|
inlineexplicit |
◆ ~BotCommandScope()
virtual tgbotxx::BotCommandScope::~BotCommandScope |
( |
| ) |
|
|
virtualdefault |
◆ fromJson()
virtual void tgbotxx::BotCommandScope::fromJson |
( |
const nl::json & |
json | ) |
|
|
inlinevirtual |
◆ toJson()
virtual nl::json tgbotxx::BotCommandScope::toJson |
( |
| ) |
const |
|
inlinevirtual |
◆ type
std::string tgbotxx::BotCommandScope::type |
The documentation for this struct was generated from the following file: