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

Represents the scope of bot commands, covering all private chats. More...

#include <BotCommandScope.hpp>

Inheritance diagram for tgbotxx::BotCommandScopeAllPrivateChats:
tgbotxx::BotCommandScope

Public Member Functions

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

Definition at line 60 of file BotCommandScope.hpp.

Constructor & Destructor Documentation

◆ BotCommandScopeAllPrivateChats() [1/2]

tgbotxx::BotCommandScopeAllPrivateChats::BotCommandScopeAllPrivateChats ( )
inline

Definition at line 61 of file BotCommandScope.hpp.

◆ BotCommandScopeAllPrivateChats() [2/2]

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

Definition at line 64 of file BotCommandScope.hpp.

Member Function Documentation

◆ fromJson()

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

Deserializes this object from JSON.

Reimplemented from tgbotxx::BotCommandScope.

Definition at line 76 of file BotCommandScope.hpp.

◆ toJson()

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

Serializes this object to JSON.

Returns
JSON representation of this object

Reimplemented from tgbotxx::BotCommandScope.

Definition at line 70 of file BotCommandScope.hpp.


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