Inherits Object.
Contains information about an affiliate that received commission from a Telegram Star transaction.
Public Fields | |
| 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 amount of Telegram Stars that were received by the affiliate; can be negative for refunds. | |
Public Instance Methods | |
| 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 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 = -1312695046 |
| Identifier uniquely determining a type of the object. | |
| affiliateInfo | ( | ) |
Contains information about an affiliate that received commission from a Telegram Star transaction.
| 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 amount of Telegram Stars that were received by the affiliate; can be negative for refunds. |
|
finalvirtual |