public static class TdApi.SearchChatAffiliateProgram extends TdApi.Function<TdApi.Chat>
Returns Chat
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
referrer
The referrer from an internalLinkTypeChatAffiliateProgram link.
|
java.lang.String |
username
Username of the chat.
|
| Constructor and Description |
|---|
SearchChatAffiliateProgram()
Default constructor for a function, which searches a chat with an affiliate program.
|
SearchChatAffiliateProgram(java.lang.String username,
java.lang.String referrer)
Creates a function, which searches a chat with an affiliate program.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String username
public java.lang.String referrer
public static final int CONSTRUCTOR
public SearchChatAffiliateProgram()
Returns Chat
public SearchChatAffiliateProgram(java.lang.String username,
java.lang.String referrer)
Returns Chat
username - Username of the chat.referrer - The referrer from an internalLinkTypeChatAffiliateProgram link.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object