Package org.drinkless.tdlib
Class TdApi.SearchAffiliatePrograms
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.FoundAffiliatePrograms>
org.drinkless.tdlib.TdApi.SearchAffiliatePrograms
- Enclosing class:
- TdApi
public static class TdApi.SearchAffiliatePrograms
extends TdApi.Function<TdApi.FoundAffiliatePrograms>
Searches affiliate programs that can be connected to the given affiliate.
Returns FoundAffiliatePrograms
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe affiliate for which affiliate programs are searched for.static final int
Identifier uniquely determining type of the object.int
The maximum number of affiliate programs to return.Offset of the first affiliate program to return as received from the previous request; use empty string to get the first chunk of results.Sort order for the results. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which searches affiliate programs that can be connected to the given affiliate.SearchAffiliatePrograms
(TdApi.AffiliateType affiliate, TdApi.AffiliateProgramSortOrder sortOrder, String offset, int limit) Creates a function, which searches affiliate programs that can be connected to the given affiliate. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
affiliate
The affiliate for which affiliate programs are searched for. -
sortOrder
Sort order for the results. -
offset
Offset of the first affiliate program to return as received from the previous request; use empty string to get the first chunk of results. -
limit
public int limitThe maximum number of affiliate programs to return. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SearchAffiliatePrograms
public SearchAffiliatePrograms()Default constructor for a function, which searches affiliate programs that can be connected to the given affiliate.Returns
FoundAffiliatePrograms
-
SearchAffiliatePrograms
public SearchAffiliatePrograms(TdApi.AffiliateType affiliate, TdApi.AffiliateProgramSortOrder sortOrder, String offset, int limit) Creates a function, which searches affiliate programs that can be connected to the given affiliate.Returns
FoundAffiliatePrograms
- Parameters:
affiliate
- The affiliate for which affiliate programs are searched for.sortOrder
- Sort order for the results.offset
- Offset of the first affiliate program to return as received from the previous request; use empty string to get the first chunk of results.limit
- The maximum number of affiliate programs to return.
-
-
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
-