Inherits Object.
Describes a gift that is available for purchase.
Public Fields | |
object_ptr< gift > | gift_ |
The gift. | |
int32 | resale_count_ |
Number of gifts that are available for resale. | |
int53 | min_resale_star_count_ |
The minimum price for the gifts available for resale; 0 if there are no such gifts. | |
string | title_ |
The title of the upgraded gift; empty if the gift isn't available for resale. | |
Public Instance Methods | |
availableGift () | |
availableGift (object_ptr< gift > &&gift_, int32 resale_count_, int53 min_resale_star_count_, string const &title_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 850530502 |
Identifier uniquely determining a type of the object. | |
availableGift | ( | ) |
Describes a gift that is available for purchase.
availableGift | ( | object_ptr< gift > && | gift_, |
int32 | resale_count_, | ||
int53 | min_resale_star_count_, | ||
string const & | title_ | ||
) |
Describes a gift that is available for purchase.
[in] | gift_ | The gift. |
[in] | resale_count_ | Number of gifts that are available for resale. |
[in] | min_resale_star_count_ | The minimum price for the gifts available for resale; 0 if there are no such gifts. |
[in] | title_ | The title of the upgraded gift; empty if the gift isn't available for resale. |
|
finalvirtual |