|
TDLib
|
Inherits Function.
Changes color scheme for the current user based on an owned or a hosted upgraded gift; for Telegram Premium users only.
Returns object_ptr<Ok>.
Public Types | |
| using | ReturnType = object_ptr<ok> |
| Typedef for the type returned by the function. | |
Public Member Functions | |
| setUpgradedGiftColors () | |
| setUpgradedGiftColors (int64 upgraded_gift_colors_id_) | |
| 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 | |
| int64 | upgraded_gift_colors_id_ |
| Identifier of the upgradedGiftColors scheme to use. | |
Static Public Attributes | |
| static const std::int32_t | ID = -966832402 |
| Identifier uniquely determining a type of the object. | |
| setUpgradedGiftColors | ( | ) |
Default constructor for a function, which changes color scheme for the current user based on an owned or a hosted upgraded gift; for Telegram Premium users only.
Returns object_ptr<Ok>.
|
explicit |
Creates a function, which changes color scheme for the current user based on an owned or a hosted upgraded gift; for Telegram Premium users only.
Returns object_ptr<Ok>.
| [in] | upgraded_gift_colors_id_ | Identifier of the upgradedGiftColors scheme to use. |
|
finalvirtual |