|
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 | |
| affiliateProgramInfo () | |
| affiliateProgramInfo (object_ptr< affiliateProgramParameters > &¶meters_, int32 end_date_, object_ptr< starAmount > &&daily_revenue_per_user_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 | |
| object_ptr< affiliateProgramParameters > | parameters_ |
| Parameters of the affiliate program. | |
| int32 | end_date_ |
| Point in time (Unix timestamp) when the affiliate program will be closed; 0 if the affiliate program isn't scheduled to be closed. If positive, then the program can't be connected using connectAffiliateProgram, but active connections will work until the date. | |
| object_ptr< starAmount > | daily_revenue_per_user_amount_ |
| The amount of daily revenue per user in Telegram Stars of the bot that created the affiliate program. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1761810251 |
| Identifier uniquely determining a type of the object. | |
| td::td_api::affiliateProgramInfo::affiliateProgramInfo | ( | ) |
Contains information about an active affiliate program.
| td::td_api::affiliateProgramInfo::affiliateProgramInfo | ( | object_ptr< affiliateProgramParameters > && | parameters_, |
| int32 | end_date_, | ||
| object_ptr< starAmount > && | daily_revenue_per_user_amount_ | ||
| ) |
Contains information about an active affiliate program.
| [in] | parameters_ | Parameters of the affiliate program. |
| [in] | end_date_ | Point in time (Unix timestamp) when the affiliate program will be closed; 0 if the affiliate program isn't scheduled to be closed. If positive, then the program can't be connected using connectAffiliateProgram, but active connections will work until the date. |
| [in] | daily_revenue_per_user_amount_ | The amount of daily revenue per user in Telegram Stars of the bot that created the affiliate program. |
|
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.
| object_ptr<starAmount> td::td_api::affiliateProgramInfo::daily_revenue_per_user_amount_ |
| int32 td::td_api::affiliateProgramInfo::end_date_ |
Point in time (Unix timestamp) when the affiliate program will be closed; 0 if the affiliate program isn't scheduled to be closed. If positive, then the program can't be connected using connectAffiliateProgram, but active connections will work until the date.
|
static |
| object_ptr<affiliateProgramParameters> td::td_api::affiliateProgramInfo::parameters_ |