Unpin a message
unpin_messageUnpin a specific message from a Telegram chat, or remove all pinned messages by omitting the message ID.
Instructions
Unpin a specific message, or pass no id to unpin everything in the dialog.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"peer": "<peer>"
},
"name": "unpin_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | ||
| accountId | No | ||
| messageId | No |