public static class TdApi.GetChats extends TdApi.Function<TdApi.Chats>
Returns Chats
| Modifier and Type | Field and Description |
|---|---|
TdApi.ChatList |
chatList
The chat list in which to return chats; pass null to get chats from the main chat list.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of chats to be returned.
|
| Constructor and Description |
|---|
GetChats()
Default constructor for a function, which returns an ordered list of chats from the beginning of a chat list.
|
GetChats(TdApi.ChatList chatList,
int limit)
Creates a function, which returns an ordered list of chats from the beginning of a chat list.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.ChatList chatList
public int limit
public static final int CONSTRUCTOR
public GetChats()
Returns Chats
public GetChats(TdApi.ChatList chatList, int limit)
Returns Chats
chatList - The chat list in which to return chats; pass null to get chats from the main chat list.limit - The maximum number of chats to be returned.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object