public static class TdApi.AffiliateProgramParameters extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
int |
commissionPerMille
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").
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
monthCount
Number of months the program will be active; 0-36.
|
| Constructor and Description |
|---|
AffiliateProgramParameters()
Describes parameters of an affiliate program.
|
AffiliateProgramParameters(int commissionPerMille,
int monthCount)
Describes parameters of an affiliate program.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int commissionPerMille
public int monthCount
public static final int CONSTRUCTOR
public AffiliateProgramParameters()
public AffiliateProgramParameters(int commissionPerMille,
int monthCount)
commissionPerMille - 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").monthCount - Number of months the program will be active; 0-36. If 0, then the program is eternal.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object