Inherits Object.
Represents a transaction changing the amount of owned Telegram Stars.
Public Fields | |
| string | id_ |
| Unique identifier of the transaction. | |
| object_ptr< starAmount > | star_amount_ |
| The amount of added owned Telegram Stars; negative for outgoing transactions. | |
| bool | is_refund_ |
| True, if the transaction is a refund of a previous transaction. | |
| int32 | date_ |
| Point in time (Unix timestamp) when the transaction was completed. | |
| object_ptr< StarTransactionType > | type_ |
| Type of the transaction. | |
Public Instance Methods | |
| starTransaction () | |
| starTransaction (string const &id_, object_ptr< starAmount > &&star_amount_, bool is_refund_, int32 date_, object_ptr< StarTransactionType > &&type_) | |
| 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 | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 2139228816 |
| Identifier uniquely determining a type of the object. | |
| starTransaction | ( | ) |
Represents a transaction changing the amount of owned Telegram Stars.
| starTransaction | ( | string const & | id_, |
| object_ptr< starAmount > && | star_amount_, | ||
| bool | is_refund_, | ||
| int32 | date_, | ||
| object_ptr< StarTransactionType > && | type_ | ||
| ) |
Represents a transaction changing the amount of owned Telegram Stars.
| [in] | id_ | Unique identifier of the transaction. |
| [in] | star_amount_ | The amount of added owned Telegram Stars; negative for outgoing transactions. |
| [in] | is_refund_ | True, if the transaction is a refund of a previous transaction. |
| [in] | date_ | Point in time (Unix timestamp) when the transaction was completed. |
| [in] | type_ | Type of the transaction. |
|
finalvirtual |