public static class TdApi.GetTopChats extends TdApi.Function
Returns Chats
TdApi.Function.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Function