tg_pin_message
Pin or unpin a specific message in a Telegram chat. Provide chat and message ID to highlight important content or remove an existing pin. Optionally notify chat members.
Instructions
Pin (or unpin) one message inside a chat. This is different from tg_pin, which pins the whole chat to the top of your dialog list.
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": {
"chat": "<chat>",
"message_id": "<message_id>"
},
"name": "tg_pin_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| unpin | No | ||
| notify | No | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |