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

Describes a withdrawal transaction to Telegram Ads platform. More...

#include <TransactionPartner.hpp>

Inheritance diagram for tgbotxx::TransactionPartnerTelegramAds:
tgbotxx::TransactionPartner

Public Member Functions

 TransactionPartnerTelegramAds ()
 
 TransactionPartnerTelegramAds (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::TransactionPartner
 TransactionPartner ()=default
 
 TransactionPartner (const nl::json &json)
 
virtual ~TransactionPartner ()=default
 

Additional Inherited Members

- Public Attributes inherited from tgbotxx::TransactionPartner
std::string type
 Type of the transaction partner.
 

Detailed Description

Describes a withdrawal transaction to Telegram Ads platform.

Definition at line 191 of file TransactionPartner.hpp.

Constructor & Destructor Documentation

◆ TransactionPartnerTelegramAds() [1/2]

tgbotxx::TransactionPartnerTelegramAds::TransactionPartnerTelegramAds ( )
inline

Definition at line 192 of file TransactionPartner.hpp.

◆ TransactionPartnerTelegramAds() [2/2]

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

Definition at line 195 of file TransactionPartner.hpp.

Member Function Documentation

◆ fromJson()

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

Deserializes this object from JSON.

Reimplemented from tgbotxx::TransactionPartner.

Definition at line 204 of file TransactionPartner.hpp.

◆ toJson()

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

Serializes this object to JSON.

Returns
JSON representation of this object

Reimplemented from tgbotxx::TransactionPartner.

Definition at line 199 of file TransactionPartner.hpp.


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