public static class TdApi.LoadChats extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
TdApi.ChatList |
chatList
The chat list in which to load chats; pass null to load 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 loaded.
|
Constructor and Description |
---|
LoadChats()
Default constructor for a function, which loads more chats from a chat list.
|
LoadChats(TdApi.ChatList chatList,
int limit)
Creates a function, which loads more chats from 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 LoadChats()
Returns Ok
public LoadChats(TdApi.ChatList chatList, int limit)
Returns Ok
chatList
- The chat list in which to load chats; pass null to load chats from the main chat list.limit
- The maximum number of chats to be loaded. For optimal performance, the number of loaded chats is chosen by TDLib and can be smaller than the specified limit, even if the end of the list is not reached.public int getConstructor()
getConstructor
in class TdApi.Function