unpin_message
Remove a pinned message from a chat. Specify the message ID to unpin a specific message, or leave it blank to unpin the most recently pinned message.
Instructions
Unpin a message in a chat. If message_id is not specified, unpin the last pinned message. If chat_id is omitted, targets the default log group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group | |
| message_id | No | ID of the message to unpin. Optional — if omitted, unpin the last pinned message. |