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

The withdrawal failed and the transaction was refunded. More...

#include <RevenueWithdrawalState.hpp>

Inheritance diagram for tgbotxx::RevenueWithdrawalStateFailed:
tgbotxx::RevenueWithdrawalState

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from tgbotxx::RevenueWithdrawalState
std::string type
 Type of the state.
 

Detailed Description

The withdrawal failed and the transaction was refunded.

Definition at line 86 of file RevenueWithdrawalState.hpp.

Constructor & Destructor Documentation

◆ RevenueWithdrawalStateFailed() [1/2]

tgbotxx::RevenueWithdrawalStateFailed::RevenueWithdrawalStateFailed ( )
inline

Definition at line 87 of file RevenueWithdrawalState.hpp.

◆ RevenueWithdrawalStateFailed() [2/2]

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

Definition at line 90 of file RevenueWithdrawalState.hpp.

Member Function Documentation

◆ fromJson()

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

Deserializes this object from JSON.

Reimplemented from tgbotxx::RevenueWithdrawalState.

Definition at line 102 of file RevenueWithdrawalState.hpp.

◆ toJson()

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

Serializes this object to JSON.

Returns
JSON representation of this object

Reimplemented from tgbotxx::RevenueWithdrawalState.

Definition at line 96 of file RevenueWithdrawalState.hpp.


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