TDLib
Loading...
Searching...
No Matches
paymentFormTypeStars Class Referencefinal

Inherits PaymentFormType.

Description

The payment form is for a payment in Telegram Stars.

Public Member Functions

 paymentFormTypeStars ()
 paymentFormTypeStars (int53 star_count_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

int53 star_count_
 Number of Telegram Stars that will be paid.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ paymentFormTypeStars() [1/2]

paymentFormTypeStars ( )

The payment form is for a payment in Telegram Stars.

◆ paymentFormTypeStars() [2/2]

paymentFormTypeStars ( int53 star_count_)
explicit

The payment form is for a payment in Telegram Stars.

Parameters
[in]star_count_Number of Telegram Stars that will be paid.

Member Function 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: