Inherits Object.
Contains information about an active affiliate program.
Public Fields | |
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. | |
Public Instance Methods | |
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 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 = -1761810251 |
Identifier uniquely determining a type of the object. | |
Contains information about an active affiliate program.
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 |