api.unpinChatMessage()
Removes a pinned message from a chat; requires can_pin_messages rights in the group or can_edit_messages rights in the channel
Parameters
UnpinChatMessageParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
chatId | number | Identifier of the chat |
messageId | number | Identifier of the removed pinned message |