public static class TdApi.StarTransactionTypeAffiliateProgramCommission extends TdApi.StarTransactionType
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat that created the affiliate program.
|
int |
commissionPerMille
The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the program owner.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
StarTransactionTypeAffiliateProgramCommission()
The transaction is a receiving of a commission from an affiliate program; for regular users, bots and channel chats only.
|
StarTransactionTypeAffiliateProgramCommission(long chatId,
int commissionPerMille)
The transaction is a receiving of a commission from an affiliate program; for regular users, bots and channel chats only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public int commissionPerMille
public static final int CONSTRUCTOR
public StarTransactionTypeAffiliateProgramCommission()
public StarTransactionTypeAffiliateProgramCommission(long chatId,
int commissionPerMille)
chatId - Identifier of the chat that created the affiliate program.commissionPerMille - The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the program owner.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object