tgbotxx 1.1.9.2
Telegram Bot C++ Library
Loading...
Searching...
No Matches
tgbotxx::StarTransactions Struct Reference

Contains a list of Telegram Star transactions. https://core.telegram.org/bots/api#startransactions. More...

#include <StarTransactions.hpp>

Public Member Functions

 StarTransactions ()=default
 
 StarTransactions (const nl::json &json)
 
nl::json toJson () const
 Serializes this object to JSON.
 
void fromJson (const nl::json &json)
 Deserializes this object from JSON.
 

Public Attributes

std::vector< Ptr< StarTransaction > > transactions
 The list of transactions.
 

Detailed Description

Contains a list of Telegram Star transactions. https://core.telegram.org/bots/api#startransactions.

Definition at line 10 of file StarTransactions.hpp.

Constructor & Destructor Documentation

◆ StarTransactions() [1/2]

tgbotxx::StarTransactions::StarTransactions ( )
default

◆ StarTransactions() [2/2]

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

Definition at line 12 of file StarTransactions.hpp.

Member Function Documentation

◆ fromJson()

void tgbotxx::StarTransactions::fromJson ( const nl::json &  json)
inline

Deserializes this object from JSON.

Definition at line 28 of file StarTransactions.hpp.

◆ toJson()

nl::json tgbotxx::StarTransactions::toJson ( ) const
inline

Serializes this object to JSON.

Returns
JSON representation of this object

Definition at line 21 of file StarTransactions.hpp.

Member Data Documentation

◆ transactions

std::vector<Ptr<StarTransaction> > tgbotxx::StarTransactions::transactions

The list of transactions.

Definition at line 17 of file StarTransactions.hpp.


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