Reference
Save reply template
Create or update a reply template.
View MarkdownThis page is generated from the source code on every release.
Create or update a reply template.
Overview
| Name | Value |
|---|---|
| Code | templates.save |
| Scope needed | chats.manage |
| Risk | Write |
| May need confirmation | No |
| Runs as | Answers right away |
Needs Idempotency-Key |
No |
| Member roles allowed | owner, manager |
| In the app | Settings → Reply templates |
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
id |
uuid |
No | |
shortcut |
text |
Yes | |
body |
text |
Yes |
Example request
curl -X POST https://tlg.builera.app/api/public/v2/ops/templates.save \
-H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"shortcut":"…","body":"…"}'Output fields (data)
| Field | Type | Required |
|---|---|---|
ok |
true |
Yes |
Example answer
{
"data": {
"ok": true
}
}Using it over MCP
Not listed on any profile: call tools_describe then tools_run with code: "templates.save". Tool name when listed: templates_save.