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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unpin_message"
}
}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. |