Inherits Object.
Describes parameters of an affiliate program.
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; getOption("affiliate_program_commission_per_mille_min")-getOption("affiliate_program_commission_per_mille_max"). | |
int32 | month_count_ |
Number of months the program will be active; 0-36. If 0, then the program is eternal. | |
Public Instance Methods | |
affiliateProgramParameters () | |
affiliateProgramParameters (int32 commission_per_mille_, int32 month_count_) | |
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 = 1642662996 |
Identifier uniquely determining a type of the object. | |
Describes parameters of an affiliate program.
affiliateProgramParameters | ( | int32 | commission_per_mille_, |
int32 | month_count_ | ||
) |
Describes parameters of an affiliate program.
[in] | commission_per_mille_ | The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the program owner; getOption("affiliate_program_commission_per_mille_min")-getOption("affiliate_program_commission_per_mille_max"). |
[in] | month_count_ | Number of months the program will be active; 0-36. If 0, then the program is eternal. |
|
finalvirtual |