telegram_unpin_chat_message
Remove a pinned message from a chat using its message ID, or clear all pinned messages at once.
Instructions
Unpin a specific message or all messages in a chat.
:param message_id: Identifier of message to unpin. If None, unpins all pinned messages. :param chat_id: Target chat identifier. :return: Status string indicating success.
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": "telegram_unpin_chat_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | ||
| message_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |