You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e771cbe
Browse filesBrowse the repository at this point in the historyBrowse files
feat: open bot Mini Apps through one-time local handoff
Add an authenticated main Web App request and a loopback redirect that does not print the signed Telegram URL. Document the workflow and test the handoff. Release as 2.11.0.
Copy file name to clipboardExpand all lines: SKILL.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ tgcli auth
62
62
- Never use `tgcli sync --chat ...`; top-level `sync` only runs workers via `--once` / `--follow`.
63
63
- To sync a specific chat: `tgcli channels sync --chat <id|@username> --enable` and/or `tgcli sync jobs add --chat <id|@username>`, then run `tgcli sync --once` or `tgcli sync --follow`.
64
64
- If command shape is uncertain, verify it first with `tgcli <command> --help` instead of guessing flags.
65
+
- For a bot's main Mini App, run `tgcli webapp serve --bot @BotFather`, then open its one-time loopback URL in an isolated browser on the same machine within 90 seconds. The signed Telegram URL is not printed by tgcli; do not print browser URLs, logs, or traces containing its authentication data. This does not use Telegram Web.
65
66
- Select named accounts with the global `--account <id|alias|phone>` option before the command, or with `TGCLI_ACCOUNT`. Selection precedence is `--account` → `TGCLI_ACCOUNT` → `default`.
66
67
- The `default` profile keeps the legacy store and existing authorization. Never run `auth logout`, move a session, or copy session files merely because a named profile is not visible.
67
68
- Named profiles have physically isolated config, session, messages database, locks, downloads, sync jobs, and service state. Always use the same account selector for auth, reads, writes, sync, and service commands belonging to that profile.
0 commit comments