Class TdApi.GetConnectedAffiliateProgram

Enclosing class:
TdApi

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

Returns ConnectedAffiliateProgram

  • 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 was 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 was 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