tgbotxx 1.2.9.2
Telegram Bot C++ Library
Loading...
Searching...
No Matches
tgbotxx::BotCommandScopeAllChatAdministrators Struct Reference

Represents the scope of bot commands, covering all group and supergroup chat administrators. More...

#include <BotCommandScope.hpp>

Inheritance diagram for tgbotxx::BotCommandScopeAllChatAdministrators:
tgbotxx::BotCommandScope

Public Member Functions

 BotCommandScopeAllChatAdministrators ()
 
 BotCommandScopeAllChatAdministrators (const nl::json &json)
 
nl::json toJson () const override
 Serializes this object to JSON.
 
void fromJson (const nl::json &json) override
 Deserializes this object from JSON.
 
- Public Member Functions inherited from tgbotxx::BotCommandScope
 BotCommandScope ()=default
 
 BotCommandScope (const nl::json &json)
 
virtual ~BotCommandScope ()=default
 

Additional Inherited Members

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

Detailed Description

Represents the scope of bot commands, covering all group and supergroup chat administrators.

Definition at line 106 of file BotCommandScope.hpp.

Constructor & Destructor Documentation

◆ BotCommandScopeAllChatAdministrators() [1/2]

tgbotxx::BotCommandScopeAllChatAdministrators::BotCommandScopeAllChatAdministrators ( )
inline

Definition at line 107 of file BotCommandScope.hpp.

◆ BotCommandScopeAllChatAdministrators() [2/2]

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

Definition at line 110 of file BotCommandScope.hpp.

Member Function Documentation

◆ fromJson()

void tgbotxx::BotCommandScopeAllChatAdministrators::fromJson ( const nl::json &  json)
inlineoverridevirtual

Deserializes this object from JSON.

Reimplemented from tgbotxx::BotCommandScope.

Definition at line 122 of file BotCommandScope.hpp.

◆ toJson()

nl::json tgbotxx::BotCommandScopeAllChatAdministrators::toJson ( ) const
inlineoverridevirtual

Serializes this object to JSON.

Returns
JSON representation of this object

Reimplemented from tgbotxx::BotCommandScope.

Definition at line 116 of file BotCommandScope.hpp.


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