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.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of chats to be returned.
|
long |
offsetChatId
Chat identifier to return chats from.
|
long |
offsetOrder
Chat order to return chats from.
|
Constructor and Description |
---|
GetChats()
Default constructor for a function, which returns an ordered list of chats in a chat list.
|
GetChats(TdApi.ChatList chatList,
long offsetOrder,
long offsetChatId,
int limit)
Creates a function, which returns an ordered list of chats in a chat list.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.ChatList chatList
public long offsetOrder
public long offsetChatId
public int limit
public static final int CONSTRUCTOR
public GetChats()
Returns Chats
public GetChats(TdApi.ChatList chatList, long offsetOrder, long offsetChatId, int limit)
Returns Chats
chatList
- The chat list in which to return chats.offsetOrder
- Chat order to return chats from.offsetChatId
- Chat identifier to return chats from.limit
- The maximum number of chats to be returned. It is possible that fewer chats than the limit are returned even if the end of the list is not reached.public int getConstructor()
getConstructor
in class TdApi.Function