public static class TdApi.SetPinnedChats extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and 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
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
SetPinnedChats()
Default constructor for a function, which changes the order of pinned chats.
|
SetPinnedChats(TdApi.ChatList chatList,
long[] chatIds)
Creates a function, which changes the order of pinned chats.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.ChatList chatList
public long[] chatIds
public static final int CONSTRUCTOR
public SetPinnedChats()
Returns Ok
public SetPinnedChats(TdApi.ChatList chatList, long[] chatIds)
Returns Ok
chatList - Chat list in which to change the order of pinned chats.chatIds - The new list of pinned chats.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object