Pin or unpin a Saved sub-dialog
toggle_saved_dialog_pinPin or unpin a sub-dialog inside Saved Messages to keep important chats accessible. Specify the original sender peer and set pinned to true or false.
Instructions
Pin/unpin one of the forum-style sub-dialogs inside Saved Messages.
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": "toggle_saved_dialog_pin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | Original sender peer of the saved sub-dialog | |
| pinned | No | true to pin, false/omit to unpin | |
| accountId | No |