Docs

Reference

Set / remove the public link

Give a supergroup / channel a public @username (5–32 letters, digits, underscores) or make it private again with an empty name. Counted in 'Change group, channel or bot name / photo'.

View MarkdownThis page is generated from the source code on every release.

Give a supergroup / channel a public @username (5–32 letters, digits, underscores) or make it private again with an empty name. Counted in 'Change group, channel or bot name / photo'.

Overview

Name Value
Code groups.set_public_link
Scope needed groups.admin
Risk Write
May need confirmation Yes
Runs as Queues work for a node
Needs Idempotency-Key Yes
Member roles allowed owner, manager, agent
Needs a worker from version 1.0.37
In the app Inbox → group info → Manage

Input fields

Field Type Required Description
conversationId uuid Yes
username text Yes

Example request

curl -X POST https://tlg.builera.app/api/public/v2/ops/groups.set_public_link \
  -H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <unique key per operation>" \
  -d '{"conversationId":"00000000-0000-0000-0000-000000000000","username":"…"}'

Output fields (data)

Field Type Required
ok true Yes
jobId text Yes

Example answer

{
  "data": {
    "ok": true,
    "jobId": "00000000-0000-4000-8000-000000000000"
  }
}

Using it over MCP

Not listed on any profile: call tools_describe then tools_run with code: "groups.set_public_link". Tool name when listed: groups_set_public_link.

Was this page helpful?

Last checked: 10/24/2026 · build 2.0