Class TdApi.GetConnectedAffiliateProgram

Enclosing class:
TdApi

public static class TdApi.GetConnectedAffiliateProgram extends TdApi.Function<TdApi.ConnectedAffiliateProgram>
Returns an affiliate program that were connected to the given affiliate by identifier of the bot that created the program.

Returns ConnectedAffiliateProgram

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The affiliate to which the affiliate program will be connected.
    long
    Identifier of the bot that created the program.
    static final int
    Identifier uniquely determining type of the object.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns an affiliate program that were connected to the given affiliate by identifier of the bot that created the program.
    Creates a function, which returns an affiliate program that were connected to the given affiliate by identifier of the bot that created the program.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • affiliate

      public TdApi.AffiliateType affiliate
      The affiliate to which the affiliate program will be connected.
    • botUserId

      public long botUserId
      Identifier of the bot that created the program.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GetConnectedAffiliateProgram

      public GetConnectedAffiliateProgram()
      Default constructor for a function, which returns an affiliate program that were connected to the given affiliate by identifier of the bot that created the program.

      Returns ConnectedAffiliateProgram

    • GetConnectedAffiliateProgram

      public GetConnectedAffiliateProgram(TdApi.AffiliateType affiliate, long botUserId)
      Creates a function, which returns an affiliate program that were connected to the given affiliate by identifier of the bot that created the program.

      Returns ConnectedAffiliateProgram

      Parameters:
      affiliate - The affiliate to which the affiliate program will be connected.
      botUserId - Identifier of the bot that created the 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR