public static class TdApi.SearchAffiliatePrograms extends TdApi.Function<TdApi.FoundAffiliatePrograms>
Returns FoundAffiliatePrograms
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat for which affiliate programs are searched for.
|
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.
|
TdApi.AffiliateProgramSortOrder |
sortOrder
Sort order for the results.
|
| Constructor and Description |
|---|
SearchAffiliatePrograms()
Default constructor for a function, which searches affiliate programs that can be applied to the given chat.
|
SearchAffiliatePrograms(long chatId,
TdApi.AffiliateProgramSortOrder sortOrder,
java.lang.String offset,
int limit)
Creates a function, which searches affiliate programs that can be applied 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 TdApi.AffiliateProgramSortOrder sortOrder
public java.lang.String offset
public int limit
public static final int CONSTRUCTOR
public SearchAffiliatePrograms()
Returns FoundAffiliatePrograms
public SearchAffiliatePrograms(long chatId,
TdApi.AffiliateProgramSortOrder sortOrder,
java.lang.String offset,
int limit)
Returns FoundAffiliatePrograms
chatId - Identifier of the chat for which affiliate programs are searched for. 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.sortOrder - Sort order for the results.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