Package org.drinkless.tdlib
Class TdApi.AffiliateProgramInfo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AffiliateProgramInfo
- Enclosing class:
- TdApi
Contains information about an active affiliate program.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The amount of daily revenue per user in Telegram Stars of the bot that created the affiliate program.int
Point in time (Unix timestamp) when the affiliate program will be closed; 0 if the affiliate program isn't scheduled to be closed.Parameters of the affiliate program. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about an active affiliate program.AffiliateProgramInfo
(TdApi.AffiliateProgramParameters parameters, int endDate, TdApi.StarAmount dailyRevenuePerUserAmount) Contains information about an active affiliate program. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
parameters
Parameters of the affiliate program. -
endDate
public int endDatePoint 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 connectAffiliateProgram, 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AffiliateProgramInfo
public AffiliateProgramInfo()Contains information about an active affiliate program. -
AffiliateProgramInfo
public AffiliateProgramInfo(TdApi.AffiliateProgramParameters parameters, int endDate, TdApi.StarAmount dailyRevenuePerUserAmount) Contains information about an active affiliate program.- Parameters:
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 connectAffiliateProgram, 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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-