Class TdApi.InternalLinkTypeChatAffiliateProgram

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InternalLinkType
org.drinkless.tdlib.TdApi.InternalLinkTypeChatAffiliateProgram
Enclosing class:
TdApi

public static class TdApi.InternalLinkTypeChatAffiliateProgram extends TdApi.InternalLinkType
The link is an affiliate program link. Call searchChatAffiliateProgram with the given username and referrer to process the link.
  • Field Details

    • username

      public String username
      Username to be passed to searchChatAffiliateProgram.
    • referrer

      public String referrer
      Referrer to be passed to searchChatAffiliateProgram.
    • CONSTRUCTOR

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

    • InternalLinkTypeChatAffiliateProgram

      public InternalLinkTypeChatAffiliateProgram()
      The link is an affiliate program link. Call searchChatAffiliateProgram with the given username and referrer to process the link.
    • InternalLinkTypeChatAffiliateProgram

      public InternalLinkTypeChatAffiliateProgram(String username, String referrer)
      The link is an affiliate program link. Call searchChatAffiliateProgram with the given username and referrer to process the link.
      Parameters:
      username - Username to be passed to searchChatAffiliateProgram.
      referrer - Referrer to be passed to searchChatAffiliateProgram.
  • 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