Class 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 Details

    • affiliate

      public TdApi.AffiliateType affiliate
      The affiliate for which affiliate programs are searched for.
    • sortOrder

      Sort order for the results.
    • offset

      public String 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 limit
      The maximum number of affiliate programs to return.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR