public static class TdApi.UnpinAllChatMessages extends TdApi.Function<TdApi.Ok>
Returns Ok
| 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 member right if the chat is a basic group or supergroup, or canEditMessages administrator right if the chat is a channel.
|
UnpinAllChatMessages(long chatId)
Creates a function, which removes all pinned messages from a chat; requires canPinMessages member right if the chat is a basic group or supergroup, or canEditMessages administrator right if the chat is a channel.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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()
TdApi.ObjectgetConstructor in class TdApi.Object