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::paymentReceipt Class Referencefinal

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

Inheritance diagram for td::td_api::paymentReceipt:
td::td_api::Object td::TlObject

Public Member Functions

 paymentReceipt ()
 
 paymentReceipt (object_ptr< productInfo > &&product_info_, int32 date_, int53 seller_bot_user_id_, object_ptr< PaymentReceiptType > &&type_)
 
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< productInfoproduct_info_
 Information about the product.
 
int32 date_
 Point in time (Unix timestamp) when the payment was made.
 
int53 seller_bot_user_id_
 User identifier of the seller bot.
 
object_ptr< PaymentReceiptTypetype_
 Type of the payment receipt.
 

Static Public Attributes

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

Detailed Description

Contains information about a successful payment.

Definition at line 51413 of file td_api.h.

Constructor & Destructor Documentation

◆ paymentReceipt() [1/2]

td::td_api::paymentReceipt::paymentReceipt ( )

Contains information about a successful payment.

◆ paymentReceipt() [2/2]

td::td_api::paymentReceipt::paymentReceipt ( object_ptr< productInfo > &&  product_info_,
int32  date_,
int53  seller_bot_user_id_,
object_ptr< PaymentReceiptType > &&  type_ 
)

Contains information about a successful payment.

Parameters
[in]product_info_Information about the product.
[in]date_Point in time (Unix timestamp) when the payment was made.
[in]seller_bot_user_id_User identifier of the seller bot.
[in]type_Type of the payment receipt.

Member Function Documentation

◆ store()

void td::td_api::paymentReceipt::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

◆ date_

int32 td::td_api::paymentReceipt::date_

Point in time (Unix timestamp) when the payment was made.

Definition at line 51426 of file td_api.h.

◆ ID

const std::int32_t td::td_api::paymentReceipt::ID = 758199186
static

Identifier uniquely determining a type of the object.

Definition at line 51448 of file td_api.h.

◆ product_info_

object_ptr<productInfo> td::td_api::paymentReceipt::product_info_

Information about the product.

Definition at line 51424 of file td_api.h.

◆ seller_bot_user_id_

int53 td::td_api::paymentReceipt::seller_bot_user_id_

User identifier of the seller bot.

Definition at line 51428 of file td_api.h.

◆ type_

object_ptr<PaymentReceiptType> td::td_api::paymentReceipt::type_

Type of the payment receipt.

Definition at line 51430 of file td_api.h.


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