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

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

#include <BotCommandScope.hpp>

Inheritance diagram for tgbotxx::BotCommandScopeAllGroupChats:
tgbotxx::BotCommandScope

Public Member Functions

 BotCommandScopeAllGroupChats ()
 
 BotCommandScopeAllGroupChats (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 chats.

Definition at line 83 of file BotCommandScope.hpp.

Constructor & Destructor Documentation

◆ BotCommandScopeAllGroupChats() [1/2]

tgbotxx::BotCommandScopeAllGroupChats::BotCommandScopeAllGroupChats ( )
inline

Definition at line 84 of file BotCommandScope.hpp.

◆ BotCommandScopeAllGroupChats() [2/2]

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

Definition at line 87 of file BotCommandScope.hpp.

Member Function Documentation

◆ fromJson()

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

Deserializes this object from JSON.

Reimplemented from tgbotxx::BotCommandScope.

Definition at line 99 of file BotCommandScope.hpp.

◆ toJson()

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

Serializes this object to JSON.

Returns
JSON representation of this object

Reimplemented from tgbotxx::BotCommandScope.

Definition at line 93 of file BotCommandScope.hpp.


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