tgbotxx  1.1.6.9
Telegram Bot C++ Library
tgbotxx::BotCommandScopeDefault Struct Reference

Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user. More...

#include <BotCommandScope.hpp>

Inheritance diagram for tgbotxx::BotCommandScopeDefault:
tgbotxx::BotCommandScope

Public Member Functions

 BotCommandScopeDefault ()
 
 BotCommandScopeDefault (const nl::json &json)
 
- Public Member Functions inherited from tgbotxx::BotCommandScope
 BotCommandScope ()=default
 
 BotCommandScope (const nl::json &json)
 
virtual ~BotCommandScope ()=default
 
virtual nl::json toJson () const
 
virtual void fromJson (const nl::json &json)
 

Additional Inherited Members

- Public Attributes inherited from tgbotxx::BotCommandScope
std::string type
 Scope type. More...
 

Detailed Description

Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user.

Definition at line 43 of file BotCommandScope.hpp.

Constructor & Destructor Documentation

◆ BotCommandScopeDefault() [1/2]

tgbotxx::BotCommandScopeDefault::BotCommandScopeDefault ( )
inline

Definition at line 44 of file BotCommandScope.hpp.

◆ BotCommandScopeDefault() [2/2]

tgbotxx::BotCommandScopeDefault::BotCommandScopeDefault ( const nl::json &  json)
inlineexplicit

Definition at line 47 of file BotCommandScope.hpp.


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