Package it.tdlight.jni
Class TdApi.SetPinnedChats
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SetPinnedChats
- Enclosing class:
- TdApi
public static class TdApi.SetPinnedChats extends TdApi.Function
Changes the order of pinned chats.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description long[]
chatIds
The new list of pinned chats.TdApi.ChatList
chatList
Chat list in which to change the order of pinned chats.static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description SetPinnedChats()
Changes the order of pinned chats.SetPinnedChats(TdApi.ChatList chatList, long[] chatIds)
Changes the order of pinned chats.SetPinnedChats(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
Chat list in which to change the order of pinned chats. -
chatIds
public long[] chatIdsThe new list of pinned chats. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SetPinnedChats
public SetPinnedChats()Changes the order of pinned chats.Returns
Ok
-
SetPinnedChats
Changes the order of pinned chats.Returns
Ok
- Parameters:
chatList
- ChatList Chat list in which to change the order of pinned chats.chatIds
- long[] The new list of pinned chats.
-
SetPinnedChats
- 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()
-