public static class TdApi.ToggleChatIsPinned extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier.
|
TdApi.ChatList |
chatList
Chat list in which to change the pinned state of the chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isPinned
True, if the chat is pinned.
|
Constructor and Description |
---|
ToggleChatIsPinned()
Default constructor for a function, which changes the pinned state of a chat.
|
ToggleChatIsPinned(TdApi.ChatList chatList,
long chatId,
boolean isPinned)
Creates a function, which changes the pinned state of a chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.ChatList chatList
public long chatId
public boolean isPinned
public static final int CONSTRUCTOR
public ToggleChatIsPinned()
Returns Ok
public ToggleChatIsPinned(TdApi.ChatList chatList, long chatId, boolean isPinned)
Returns Ok
chatList
- Chat list in which to change the pinned state of the chat.chatId
- Chat identifier.isPinned
- True, if the chat is pinned.public int getConstructor()
getConstructor
in class TdApi.Function