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