tgbot-cpp
Loading...
Searching...
No Matches
TgBot::BotCommandScope Class Reference

This abstract class is base of all bot command scopes. More...

#include <BotCommandScope.h>

Inheritance diagram for TgBot::BotCommandScope:
TgBot::BotCommandScopeAllChatAdministrators TgBot::BotCommandScopeAllGroupChats TgBot::BotCommandScopeAllPrivateChats TgBot::BotCommandScopeChat TgBot::BotCommandScopeChatAdministrators TgBot::BotCommandScopeChatMember TgBot::BotCommandScopeDefault

Public Types

typedef std::shared_ptr< BotCommandScopePtr
 

Public Member Functions

 BotCommandScope ()
 
virtual ~BotCommandScope ()
 

Public Attributes

std::string type
 Scope type.
 

Detailed Description

This abstract class is base of all bot command scopes.

This object represents the scope to which bot commands are applied.

Definition at line 16 of file BotCommandScope.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<BotCommandScope> TgBot::BotCommandScope::Ptr

Definition at line 18 of file BotCommandScope.h.

Constructor & Destructor Documentation

◆ BotCommandScope()

TgBot::BotCommandScope::BotCommandScope ( )
inline

Definition at line 20 of file BotCommandScope.h.

◆ ~BotCommandScope()

virtual TgBot::BotCommandScope::~BotCommandScope ( )
inlinevirtual

Definition at line 22 of file BotCommandScope.h.

Member Data Documentation

◆ type

std::string TgBot::BotCommandScope::type

Scope type.

Definition at line 27 of file BotCommandScope.h.


The documentation for this class was generated from the following file: