public static class TdApi.DisconnectChatAffiliateProgram extends TdApi.Function<TdApi.ChatAffiliateProgram>
Returns ChatAffiliateProgram
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat for which the affiliate program is connected.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
url
The referral link of the affiliate program.
|
| Constructor and Description |
|---|
DisconnectChatAffiliateProgram()
Default constructor for a function, which disconnects an affiliate program from the given chat and immediately deactivates its referral link.
|
DisconnectChatAffiliateProgram(long chatId,
java.lang.String url)
Creates a function, which disconnects an affiliate program from the given chat and immediately deactivates its referral link.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public java.lang.String url
public static final int CONSTRUCTOR
public DisconnectChatAffiliateProgram()
Returns ChatAffiliateProgram
public DisconnectChatAffiliateProgram(long chatId,
java.lang.String url)
Returns ChatAffiliateProgram
chatId - Identifier of the chat for which the affiliate program is connected.url - The referral link of the affiliate program.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object