#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| 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.
|
| |
|
| static const std::int32_t | ID = 1642662996 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes parameters of an affiliate program.
Definition at line 868 of file td_api.h.
◆ affiliateProgramParameters() [1/2]
| td::td_api::affiliateProgramParameters::affiliateProgramParameters |
( |
| ) |
|
Describes parameters of an affiliate program.
◆ affiliateProgramParameters() [2/2]
| td::td_api::affiliateProgramParameters::affiliateProgramParameters |
( |
int32 |
commission_per_mille_, |
|
|
int32 |
month_count_ |
|
) |
| |
Describes parameters of an affiliate program.
- Parameters
-
| [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. |
◆ store()
| void td::td_api::affiliateProgramParameters::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ commission_per_mille_
| int32 td::td_api::affiliateProgramParameters::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").
Definition at line 879 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::affiliateProgramParameters::ID = 1642662996 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 897 of file td_api.h.
◆ month_count_
| int32 td::td_api::affiliateProgramParameters::month_count_ |
Number of months the program will be active; 0-36. If 0, then the program is eternal.
Definition at line 881 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h