Package it.tdlight.jni
Class TdApi.GetChats
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetChats
- Enclosing class:
- TdApi
public static class TdApi.GetChats extends TdApi.Function
Returns an ordered list of chats from
the beginning of a chat list. For
informational purposes only. Use
loadChats instead to maintain chat lists.
Returns Chats
-
Field Summary
Fields Modifier and Type Field Description TdApi.ChatList
chatList
The chat list in which to return chats.static int
CONSTRUCTOR
int
limit
The maximum number of chats to be returned. -
Constructor Summary
Constructors Constructor Description GetChats()
Returns an ordered list of chats from the beginning of a chat list.GetChats(TdApi.ChatList chatList, int limit)
Returns an ordered list of chats from the beginning of a chat list.GetChats(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatList
The chat list in which to return chats. -
limit
public int limitThe maximum number of chats to be returned. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetChats
public GetChats()Returns an ordered list of chats from the beginning of a chat list. For informational purposes only. Use loadChats instead to maintain chat lists.Returns
Chats
-
GetChats
Returns an ordered list of chats from the beginning of a chat list. For informational purposes only. Use loadChats instead to maintain chat lists.Returns
Chats
- Parameters:
chatList
- ChatList The chat list in which to return chats.limit
- int The maximum number of chats to be returned.
-
GetChats
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-