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.
|
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 rights in the group or canEditMessages rights in the channel.
|
UnpinChatMessage(long chatId,
long messageId)
Creates a function, which removes a pinned message 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 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()
getConstructor
in class TdApi.Function