List of all members | Public Fields | Public Instance Methods | Static Public Attributes
paymentReceiptTypeStars Class Referencefinal

Inherits PaymentReceiptType.

Description

The payment was done using Telegram stars.

Public Fields

int53 star_count_
 Number of Telegram stars that were paid.
 
string transaction_id_
 Unique identifier of the transaction that can be used to dispute it.
 

Public Instance Methods

 paymentReceiptTypeStars ()
 
 paymentReceiptTypeStars (int53 star_count_, string const &transaction_id_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ paymentReceiptTypeStars() [1/2]

The payment was done using Telegram stars.

◆ paymentReceiptTypeStars() [2/2]

paymentReceiptTypeStars ( int53  star_count_,
string const &  transaction_id_ 
)

The payment was done using Telegram stars.

Parameters
[in]star_count_Number of Telegram stars that were paid.
[in]transaction_id_Unique identifier of the transaction that can be used to dispute it.

Method Documentation

◆ store()

void 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 TlObject.


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