Reference
Save a group
Save a group from a search hit or a pasted link.
View MarkdownThis page is generated from the source code on every release.
Save a group from a search hit or a pasted link.
Overview
| Name | Value |
|---|---|
| Code | groups.add |
| Scope needed | discovery.write |
| Risk | Write |
| May need confirmation | No |
| Runs as | Answers right away |
Needs Idempotency-Key |
No |
| Member roles allowed | owner, manager |
| In the app | Discover → Save group |
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
link |
text |
No | |
hit |
object |
No | |
accountId |
uuid |
No |
Example request
curl -X POST https://tlg.builera.app/api/public/v2/ops/groups.add \
-H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Output fields (data)
| Field | Type | Required |
|---|---|---|
ok |
true |
Yes |
groupId |
text |
Yes |
existed |
true |
Yes |
Example answer
{
"data": {
"ok": true,
"groupId": "00000000-0000-4000-8000-000000000000",
"existed": true
}
}Using it over MCP
Not listed on any profile: call tools_describe then tools_run with code: "groups.add". Tool name when listed: groups_add.