tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::messagePaymentRefunded Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::messagePaymentRefunded:
td::td_api::MessageContent td::td_api::Object td::TlObject

Public Member Functions

 messagePaymentRefunded ()
 
 messagePaymentRefunded (object_ptr< MessageSender > &&owner_id_, string const &currency_, int53 total_amount_, bytes const &invoice_payload_, string const &telegram_payment_charge_id_, string const &provider_payment_charge_id_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

object_ptr< MessageSenderowner_id_
 Identifier of the previous owner of the Telegram Stars that refunds them.
 
string currency_
 Currency for the price of the product.
 
int53 total_amount_
 Total price for the product, in the smallest units of the currency.
 
bytes invoice_payload_
 Invoice payload; only for bots.
 
string telegram_payment_charge_id_
 Telegram payment identifier.
 
string provider_payment_charge_id_
 Provider payment identifier.
 

Static Public Attributes

static const std::int32_t ID = 297580787
 Identifier uniquely determining a type of the object.
 

Detailed Description

A payment has been refunded.

Definition at line 41647 of file td_api.h.

Constructor & Destructor Documentation

◆ messagePaymentRefunded() [1/2]

td::td_api::messagePaymentRefunded::messagePaymentRefunded ( )

A payment has been refunded.

◆ messagePaymentRefunded() [2/2]

td::td_api::messagePaymentRefunded::messagePaymentRefunded ( object_ptr< MessageSender > &&  owner_id_,
string const &  currency_,
int53  total_amount_,
bytes const &  invoice_payload_,
string const &  telegram_payment_charge_id_,
string const &  provider_payment_charge_id_ 
)

A payment has been refunded.

Parameters
[in]owner_id_Identifier of the previous owner of the Telegram Stars that refunds them.
[in]currency_Currency for the price of the product.
[in]total_amount_Total price for the product, in the smallest units of the currency.
[in]invoice_payload_Invoice payload; only for bots.
[in]telegram_payment_charge_id_Telegram payment identifier.
[in]provider_payment_charge_id_Provider payment identifier.

Member Function Documentation

◆ store()

void td::td_api::messagePaymentRefunded::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ currency_

string td::td_api::messagePaymentRefunded::currency_

Currency for the price of the product.

Definition at line 41660 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messagePaymentRefunded::ID = 297580787
static

Identifier uniquely determining a type of the object.

Definition at line 41688 of file td_api.h.

◆ invoice_payload_

bytes td::td_api::messagePaymentRefunded::invoice_payload_

Invoice payload; only for bots.

Definition at line 41664 of file td_api.h.

◆ owner_id_

object_ptr<MessageSender> td::td_api::messagePaymentRefunded::owner_id_

Identifier of the previous owner of the Telegram Stars that refunds them.

Definition at line 41658 of file td_api.h.

◆ provider_payment_charge_id_

string td::td_api::messagePaymentRefunded::provider_payment_charge_id_

Provider payment identifier.

Definition at line 41668 of file td_api.h.

◆ telegram_payment_charge_id_

string td::td_api::messagePaymentRefunded::telegram_payment_charge_id_

Telegram payment identifier.

Definition at line 41666 of file td_api.h.

◆ total_amount_

int53 td::td_api::messagePaymentRefunded::total_amount_

Total price for the product, in the smallest units of the currency.

Definition at line 41662 of file td_api.h.


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