Install
openclaw skills install telegram-login-helperConsolidate and automate Telegram personal-account login workflows for TDLib, including namespace reuse, QR and batch logins, session copying, and human fall...
openclaw skills install telegram-login-helper这个 skill 专门处理 Telegram 个人账号登录,不是 bot token。
适用场景:
tdl / TDLib 登录卡住永远优先走 personal account 路线:
tdlTDLibMTProto不要因为 QR 登录不顺就切去 Bot API。
steve/home/stevewu/.tdl/data/home/stevewu/.openclaw/workspace/skills/telegram-login-helper/scripts/reuse_namespace.sh/home/stevewu/.openclaw/workspace/skills/telegram-login-helper/scripts/login_10_namespaces.sh/home/stevewu/.openclaw/workspace/skills/telegram-login-helper/references/runbook.md先别急着重新登录,先测旧登录态还活不活:
bash /home/stevewu/.openclaw/workspace/skills/telegram-login-helper/scripts/reuse_namespace.sh steve 5
或直接:
tdl chat ls -n steve --limit 5
单账号:
tdl login -n tg1 -T qr
多账号批量:
bash /home/stevewu/.openclaw/workspace/skills/telegram-login-helper/scripts/login_10_namespaces.sh
如果另一台机器已经登录成功,优先复制对应 namespace 的 TDLib state,而不是反复扫码。
已知目录:
/home/stevewu/.tdl/data
复制后立即验证:
tdl chat ls -n <namespace> --limit 5
这一步需要:
TELEGRAM_API_IDTELEGRAM_API_HASH如果这两个没有,就别假装能闭环。
如果:
那就老老实实承认:必须人工辅助一次登录。
先测 namespace:
tdl chat ls -n steve --limit 10
再测 personal reader/export 路线:
python3 /home/stevewu/.openclaw/workspace/skills/telegram-personal-ops/scripts/tg_personal_ops.py read_chats --limit 5
python3 /home/stevewu/.openclaw/workspace/skills/telegram-personal-ops/scripts/tg_personal_ops.py read_history --chat 777000 --limit 20
TELEGRAM_API_ID / TELEGRAM_API_HASH 还假装 MTProto 已可用telegram-personal-ops:登录成功后做聊天读取与导出telegram-multi-account-monitor:多个 personal account 登录完成后做只读监控telegram-reader-login-helper:更偏向“QR 登录失败时如何救火”的窄场景版Telegram 登录问题的正确解法是:先复用,再转移 session,再补 fallback,最后才麻烦人类。