pin_message
Pin a message in a Telegram chat. Optionally notify participants of the new pin or pin only for yourself in private chats.
Instructions
Закрепить сообщение в чате.
Args: notify: True — отправить уведомление участникам о новом pin. pm_oneside: только в PM — закрепить только у себя, не у собеседника.
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": "pin_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| notify | No | ||
| message_id | Yes | ||
| pm_oneside | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||