Package org.drinkless.tdlib
Class TdApi.SearchChatAffiliateProgram
- Enclosing class:
TdApi
Searches a chat with an affiliate program. Returns the chat if found and the program is active.
Returns Chat
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function
TdApi.Function.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The referrer from an internalLinkTypeChatAffiliateProgram link.Username of the chat. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which searches a chat with an affiliate program.SearchChatAffiliateProgram(String username, String referrer) Creates a function, which searches a chat with an affiliate program. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
username
Username of the chat. -
referrer
The referrer from an internalLinkTypeChatAffiliateProgram link. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SearchChatAffiliateProgram
public SearchChatAffiliateProgram()Default constructor for a function, which searches a chat with an affiliate program. Returns the chat if found and the program is active.Returns
Chat -
SearchChatAffiliateProgram
Creates a function, which searches a chat with an affiliate program. Returns the chat if found and the program is active.Returns
Chat- Parameters:
username- Username of the chat.referrer- The referrer from an internalLinkTypeChatAffiliateProgram link.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Function<TdApi.Chat>- Returns:
- this.CONSTRUCTOR
-