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

Inherits GiftResalePrice.

Description

Describes price of a resold gift in TON Grams.

Public Member Functions

 giftResalePriceGram ()
 giftResalePriceGram (int53 gram_cent_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 gram_cent_count_
 The amount of 1/100 of Gram expected to be paid for the gift. Must be in the range getOption("gift_resale_gram_cent_count_min")-getOption("gift_resale_gram_cent_count_max").

Static Public Attributes

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

Constructor & Destructor Documentation

◆ giftResalePriceGram() [1/2]

giftResalePriceGram ( )

Describes price of a resold gift in TON Grams.

◆ giftResalePriceGram() [2/2]

giftResalePriceGram ( int53 gram_cent_count_)
explicit

Describes price of a resold gift in TON Grams.

Parameters
[in]gram_cent_count_The amount of 1/100 of Gram expected to be paid for the gift. Must be in the range getOption("gift_resale_gram_cent_count_min")-getOption("gift_resale_gram_cent_count_max").

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: