Add Accounts
Actors (演员) are Telegram accounts managed in TGDirector to execute scheduled broadcasts, direct messages, member scraping, and performances. Access them from the top right of Accounts (账号管理).
If your local network cannot connect to Telegram directly, configure proxies in Proxies first.
Phone Login
Click Add Account (添加账号) to log in using a phone number and verification code:
- Phone Number: enter the full phone number with international area code (for example,
+8613800000000). You can assign an Outbound Proxy (出网代理); leave it empty to follow global network settings. TGDirector uses cloud Desktop device fingerprints by default. Click Send Code (发送验证码). - Verification Code: retrieve the code sent to your logged-in Telegram devices (service notification from 777000) or via SMS. Fill it in and click Submit Code (提交验证码).
- Two-Step Verification: enter the two-step verification password if enabled on the account, then click Submit Password (提交密码).
- Done: the account connects and stays online immediately upon success.
Joined groups are fetched dynamically whenever a workflow needs them; there is no manual group synchronization step.
Import Sessions
Click Import Sessions (导入协议号) and select or drag in files or folders:
- File Format: Telethon sessions are supported. Each account requires a
.sessionfile paired with a.jsonfile of the exact same name containing device fingerprints. Files missing a fingerprint json are flagged as Missing Fingerprint (缺指纹) and cannot be imported. - Phone and 2FA: phone numbers are read from the
phonefield in the json, falling back to the filename; 2FA passwords in the json are automatically populated into the account record. - Use Proxies (使用代理): select multiple proxies to distribute accounts sequentially across them. If no proxy is selected, accounts fall back to global network settings.
- Import Data Only, Do Not Log In Now (仅导入数据,不立即登录): this option is checked by default. TGDirector writes local TDLib session files without connecting to Telegram servers. The account status is set to Not logged in (未登录). Bulk DM, broadcasts, join verification, and group invites can bring accounts online when needed. Other features follow their account eligibility rules; use Go Online (上线) or Check Status (检测状态) first when necessary.
- Uncheck to Verify Immediately: when unchecked, TGDirector connects to Telegram for each session. Banned accounts, revoked sessions, or connection timeouts trigger immediate rollback and will not be saved.
Device fingerprints are stored per account. TDLib connects with the exact fingerprint on every session restart without modifying global configurations.
States and Connection Lifecycle
TGDirector decouples authorization, connection runtime, and account health:
Account Status
| Status | Meaning and Action |
|---|---|
| Normal (正常) | The session is authorized with no detected freeze or ban; spam restrictions are checked separately. |
| Frozen (冻结) | Account can log in and read messages, but write actions are blocked by Telegram; appeal inside the official Telegram client. |
| Banned (封禁) | Account has been permanently banned by Telegram. |
| Session Revoked (已注销) | The session was terminated on Telegram's side; re-login is required. |
| Not Logged In / Unknown (未登录 / 未知) | Imported sessions pending online verification or manually logged out accounts. This does not mean the account is banned or revoked. |
Runtime State and Auto-Offline
Runtime state shows Online (在线), Offline (掉线), or Idle (空闲), separately from account health:
- Offline is not an error: accounts brought online by background tasks (broadcasts, DMs, scraping) disconnect automatically after 1 minute of inactivity once all tasks finish. This conserves bandwidth and avoids idle connections. Tasks reconnect silently on demand.
- Persistent Online: accounts logged in through the login wizard or brought online via Go Online (上线) in the actions column remain persistently connected.
Next Steps
- Send scheduled group messages: Run Your First Scheduled Broadcast
- Send personalized direct messages: Run Your First Bulk DM
Logging in or connecting numerous accounts simultaneously through identical exit IPs increases risk. Review Anti-ban and pacing advice.