|
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 | |
| affiliateInfo () | |
| affiliateInfo (int32 commission_per_mille_, int53 affiliate_chat_id_, object_ptr< starAmount > &&star_amount_) | |
| 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 | |
| int32 | commission_per_mille_ |
| The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the program owner. | |
| int53 | affiliate_chat_id_ |
| Identifier of the chat which received the commission. | |
| object_ptr< starAmount > | star_amount_ |
| The Telegram Star amount that was received by the affiliate; can be negative for refunds. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1312695046 |
| Identifier uniquely determining a type of the object. | |
Contains information about an affiliate that received commission from a Telegram Star transaction.
| td::td_api::affiliateInfo::affiliateInfo | ( | ) |
Contains information about an affiliate that received commission from a Telegram Star transaction.
| td::td_api::affiliateInfo::affiliateInfo | ( | int32 | commission_per_mille_, |
| int53 | affiliate_chat_id_, | ||
| object_ptr< starAmount > && | star_amount_ | ||
| ) |
Contains information about an affiliate that received commission from a Telegram Star transaction.
| [in] | commission_per_mille_ | The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the program owner. |
| [in] | affiliate_chat_id_ | Identifier of the chat which received the commission. |
| [in] | star_amount_ | The Telegram Star amount that was received by the affiliate; can be negative for refunds. |
|
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.
| int53 td::td_api::affiliateInfo::affiliate_chat_id_ |
| int32 td::td_api::affiliateInfo::commission_per_mille_ |
|
static |
| object_ptr<starAmount> td::td_api::affiliateInfo::star_amount_ |