-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Feature]: Telegram onboarding: offer BotFather web app flow next to the chat flow #100538
Copy link
Copy link
Closed
Labels
P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.enhancementNew feature or requestNew feature or requestimpact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.maintainerMaintainer-authored PRMaintainer-authored PRmaturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Description
Metadata
Metadata
Assignees
Labels
P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.enhancementNew feature or requestNew feature or requestimpact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.maintainerMaintainer-authored PRMaintainer-authored PRmaturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Type
Fields
Priority
None yet
Summary
Surface Telegram's official web-based bot creation flow (the BotFather web app / Mini App at
https://t.me/BotFather?startapp) next to the classic/newbotchat flow in the Telegram setup wizard and docs.Problem to solve
Telegram bot onboarding in OpenClaw only describes the chat-command flow: DM @Botfather, run
/newbot, copy the token. Telegram now ships an official web UI for creating and managing bots — the BotFather Mini App — which runs in every Telegram client including web.telegram.org (see https://core.telegram.org/bots/features, "Open the bot's settings in BotFather's MiniApp"). Users who prefer a GUI, or who are on Telegram Web where chatting with BotFather is clumsy, get no pointer to it fromopenclaw onboard telegramor from the docs quick-setup.Proposed solution
getTelegramTokenHelpLinesinextensions/telegram/src/setup-core.ts) pointing at the web app deep link, in all three wizard locales.docs/channels/telegram.mdto present both flows (chat flow and web flow), and mention the web app as the GUI alternative for BotFather toggles like/setprivacy.Both flows end the same way: the user pastes a bot token into OpenClaw. No config surface or runtime behavior changes.
Alternatives considered
Full auto-provisioning via Telegram managed bots (Bot API 9.6+, current 10.1): a manager bot with Bot Management Mode enabled can hand users a
https://t.me/newbot/{manager_bot}/{suggested_username}deep link; Telegram shows a pre-filled creation screen, the manager bot receives amanaged_botupdate and fetches the token withgetManagedBotToken— no copy-paste at all. Our pinned grammY (1.44.0 /@grammyjs/types) already types this surface (Update.managed_bot,getManagedBotToken,replaceManagedBotToken,KeyboardButtonRequestManagedBot).This is intentionally out of scope here: it requires OpenClaw (or the operator) to own a long-lived manager bot, plus decisions about token custody and multi-account config shape — a product decision for a separate proposal. The chicken-and-egg remains for first-time setup (you need a first token to have a manager bot).
Impact
Evidence/examples
ManagedBotUpdated,getManagedBotToken)