Reference
Follow / unfollow a group or channel
The follow switch of one group / channel (`chatId` from groups.chats, its `accountId`): `on` = always in the inbox (its latest messages are loaded if the app has none), `off` = hidden from the inbox (nothing is deleted), `auto` = created / managed chats and groups up to 500 members.
View MarkdownThis page is generated from the source code on every release.
The follow switch of one group / channel (chatId from groups.chats, its accountId): on = always in the inbox (its latest messages are loaded if the app has none), off = hidden from the inbox (nothing is deleted), auto = created / managed chats and groups up to 500 members.
Overview
| Name | Value |
|---|---|
| Code | groups.set_tracked |
| 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 | Groups & channels → Follow |
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
chatId |
uuid |
Yes | |
follow |
"auto" | "on" | "off" |
Yes | |
accountId |
uuid |
Yes |
Example request
curl -X POST https://tlg.builera.app/api/public/v2/ops/groups.set_tracked \
-H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"chatId":"00000000-0000-0000-0000-000000000000","follow":"auto","accountId":"00000000-0000-0000-0000-000000000000"}'Output fields (data)
| Field | Type | Required |
|---|---|---|
ok |
true |
Yes |
follow |
text |
Yes |
inInbox |
true/false |
Yes |
historyJobId |
null | text |
Yes |
Example answer
{
"data": {
"ok": true,
"follow": "text",
"inInbox": true,
"historyJobId": "00000000-0000-4000-8000-000000000000"
}
}Using it over MCP
Not listed on any profile: call tools_describe then tools_run with code: "groups.set_tracked". Tool name when listed: groups_set_tracked.