|
tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
|
#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
Public Member Functions | |
| 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 Member Functions inherited from td::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 |
Public Attributes | |
| 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. | |
Static Public Attributes | |
| static const std::int32_t | ID = 2139228816 |
| Identifier uniquely determining a type of the object. | |
Represents a transaction changing the amount of owned Telegram Stars.
| td::td_api::starTransaction::starTransaction | ( | ) |
Represents a transaction changing the amount of owned Telegram Stars.
| td::td_api::starTransaction::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 |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
| int32 td::td_api::starTransaction::date_ |
|
static |
| string td::td_api::starTransaction::id_ |
| bool td::td_api::starTransaction::is_refund_ |
| object_ptr<starAmount> td::td_api::starTransaction::star_amount_ |
| object_ptr<StarTransactionType> td::td_api::starTransaction::type_ |