public static class TdApi.AffiliateProgramInfo extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.StarAmount |
dailyRevenuePerUserAmount
The amount of daily revenue per user in Telegram Stars of the bot that created the affiliate program.
|
int |
endDate
Point in time (Unix timestamp) when the affiliate program will be closed; 0 if the affiliate program isn't scheduled to be closed.
|
TdApi.AffiliateProgramParameters |
parameters
Parameters of the affiliate program.
|
| Constructor and Description |
|---|
AffiliateProgramInfo()
Contains information about an active affiliate program.
|
AffiliateProgramInfo(TdApi.AffiliateProgramParameters parameters,
int endDate,
TdApi.StarAmount dailyRevenuePerUserAmount)
Contains information about an active affiliate program.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.AffiliateProgramParameters parameters
public int endDate
public TdApi.StarAmount dailyRevenuePerUserAmount
public static final int CONSTRUCTOR
public AffiliateProgramInfo()
public AffiliateProgramInfo(TdApi.AffiliateProgramParameters parameters, int endDate, TdApi.StarAmount dailyRevenuePerUserAmount)
parameters - Parameters of the affiliate program.endDate - Point in time (Unix timestamp) when the affiliate program will be closed; 0 if the affiliate program isn't scheduled to be closed. If positive, then the program can't be connected using connectChatAffiliateProgram, but active connections will work until the date.dailyRevenuePerUserAmount - The amount of daily revenue per user in Telegram Stars of the bot that created the affiliate program.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object