public static class TdApi.AffiliateInfo extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
long |
affiliateChatId
Identifier of the chat which received the commission.
|
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.
|
TdApi.StarAmount |
starAmount
The amount of Telegram Stars that were received by the affiliate; can be negative for refunds.
|
| Constructor and Description |
|---|
AffiliateInfo()
Contains information about an affiliate that received commission from a Telegram Star transaction.
|
AffiliateInfo(int commissionPerMille,
long affiliateChatId,
TdApi.StarAmount starAmount)
Contains information about an affiliate that received commission from a Telegram Star transaction.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int commissionPerMille
public long affiliateChatId
public TdApi.StarAmount starAmount
public static final int CONSTRUCTOR
public AffiliateInfo()
public AffiliateInfo(int commissionPerMille,
long affiliateChatId,
TdApi.StarAmount starAmount)
commissionPerMille - The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the program owner.affiliateChatId - Identifier of the chat which received the commission.starAmount - The amount of Telegram Stars that were received by the affiliate; can be negative for refunds.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object