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

The withdrawal succeeded. More...

#include <RevenueWithdrawalState.hpp>

Inheritance diagram for tgbotxx::RevenueWithdrawalStateSucceeded:
tgbotxx::RevenueWithdrawalState

Public Member Functions

 RevenueWithdrawalStateSucceeded ()
 
 RevenueWithdrawalStateSucceeded (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
 

Public Attributes

std::time_t date {}
 Date the withdrawal was completed in Unix time.
 
std::string url
 An HTTPS URL that can be used to see transaction details.
 
- Public Attributes inherited from tgbotxx::RevenueWithdrawalState
std::string type
 Type of the state.
 

Detailed Description

The withdrawal succeeded.

Definition at line 48 of file RevenueWithdrawalState.hpp.

Constructor & Destructor Documentation

◆ RevenueWithdrawalStateSucceeded() [1/2]

tgbotxx::RevenueWithdrawalStateSucceeded::RevenueWithdrawalStateSucceeded ( )
inline

Definition at line 49 of file RevenueWithdrawalState.hpp.

◆ RevenueWithdrawalStateSucceeded() [2/2]

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

Definition at line 52 of file RevenueWithdrawalState.hpp.

Member Function Documentation

◆ fromJson()

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

Deserializes this object from JSON.

Reimplemented from tgbotxx::RevenueWithdrawalState.

Definition at line 69 of file RevenueWithdrawalState.hpp.

◆ toJson()

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

Serializes this object to JSON.

Reimplemented from tgbotxx::RevenueWithdrawalState.

Definition at line 62 of file RevenueWithdrawalState.hpp.

Member Data Documentation

◆ date

std::time_t tgbotxx::RevenueWithdrawalStateSucceeded::date {}

Date the withdrawal was completed in Unix time.

Definition at line 57 of file RevenueWithdrawalState.hpp.

◆ url

std::string tgbotxx::RevenueWithdrawalStateSucceeded::url

An HTTPS URL that can be used to see transaction details.

Definition at line 60 of file RevenueWithdrawalState.hpp.


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