public static class TdApi.UnpinChatMessage 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 |
|---|
UnpinChatMessage()
Default constructor for a function, which removes the pinned message from a chat; requires canPinMessages rights in the group or channel.
|
UnpinChatMessage(long chatId)
Creates a function, which removes the pinned message from a chat; requires canPinMessages rights in the group or channel.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor() |
toStringpublic long chatId
public static final int CONSTRUCTOR
public UnpinChatMessage()
Returns Ok
public UnpinChatMessage(long chatId)
Returns Ok
chatId - Identifier of the chat.public int getConstructor()
getConstructor in class TdApi.Function