public static class TdApi.GetChatAffiliatePrograms extends TdApi.Function<TdApi.ChatAffiliatePrograms>
Returns ChatAffiliatePrograms
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat for which the affiliate programs were connected.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of affiliate programs to return.
|
java.lang.String |
offset
Offset of the first affiliate program to return as received from the previous request; use empty string to get the first chunk of results.
|
| Constructor and Description |
|---|
GetChatAffiliatePrograms()
Default constructor for a function, which returns affiliate programs that were connected to the given chat.
|
GetChatAffiliatePrograms(long chatId,
java.lang.String offset,
int limit)
Creates a function, which returns affiliate programs that were connected to the given chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public java.lang.String offset
public int limit
public static final int CONSTRUCTOR
public GetChatAffiliatePrograms()
Returns ChatAffiliatePrograms
public GetChatAffiliatePrograms(long chatId,
java.lang.String offset,
int limit)
Returns ChatAffiliatePrograms
chatId - Identifier of the chat for which the affiliate programs were connected. Can be an identifier of the Saved Messages chat, of a chat with an owned bot, or of a channel chat with canPostMessages administrator right.offset - Offset of the first affiliate program to return as received from the previous request; use empty string to get the first chunk of results.limit - The maximum number of affiliate programs to return.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object