public static class TdApi.UnpinChatMessage 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.
|
long |
messageId
Identifier of the removed pinned message.
|
| Constructor and Description |
|---|
UnpinChatMessage()
Default constructor for a function, which removes a pinned message 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.
|
UnpinChatMessage(long chatId,
long messageId)
Creates a function, which removes a pinned message 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 long messageId
public static final int CONSTRUCTOR
public UnpinChatMessage()
Returns Ok
public UnpinChatMessage(long chatId,
long messageId)
Returns Ok
chatId - Identifier of the chat.messageId - Identifier of the removed pinned message.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object