public static class TdApi.GetTopChats extends TdApi.Function<TdApi.Chats>
Returns Chats
| Modifier and Type | Field and Description |
|---|---|
TdApi.TopChatCategory |
category
Category of chats to be returned.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of chats to be returned; up to 30.
|
| Constructor and Description |
|---|
GetTopChats()
Default constructor for a function, which returns a list of frequently used chats.
|
GetTopChats(TdApi.TopChatCategory category,
int limit)
Creates a function, which returns a list of frequently used chats.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.TopChatCategory category
public int limit
public static final int CONSTRUCTOR
public GetTopChats()
Returns Chats
public GetTopChats(TdApi.TopChatCategory category, int limit)
Returns Chats
category - Category of chats to be returned.limit - The maximum number of chats to be returned; up to 30.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object