public static class TdApi.UnpinAllChatMessages extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Identifier of the chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
Constructor and Description |
---|
UnpinAllChatMessages()
Default constructor for a function, which removes all pinned messages from a chat; requires canPinMessages rights in the group or canEditMessages rights in the channel.
|
UnpinAllChatMessages(long chatId)
Creates a function, which removes all pinned messages from a chat; requires canPinMessages rights in the group or canEditMessages rights in the channel.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public static final int CONSTRUCTOR
public UnpinAllChatMessages()
Returns Ok
public UnpinAllChatMessages(long chatId)
Returns Ok
chatId
- Identifier of the chat.public int getConstructor()
getConstructor
in class TdApi.Function