Actions37
- Chat Actions
- Contact Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- Request Actions
- User Actions
Login → Login with Phone Number Using ChatTrigger
AI-generatedOverview
This node handles the login process to Telegram using a phone number via a ChatTrigger interface. It supports multi-factor authentication (MFA) and allows users to manage their Telegram client sessions through chat commands. Common scenarios include automating Telegram login workflows, managing sessions, and interacting with Telegram's authentication states programmatically. For example, users can start the login process, provide authentication codes, stop sessions, clear local session data, and check session status all through chat commands.
Use Case Examples
- Starting login with /start command to initiate phone number login and MFA if required.
- Stopping the current Telegram session with /stop command.
- Clearing local session data with /clear command to force a fresh login.
- Checking which Telegram credentials are in use with /cred command.
Output
JSON
text- Textual response messages related to login status and commandscompatibility- Information about feature compatibility, e.g., QR-Code login statusurl- URL links to documentation or guidesjson- Detailed JSON responses for commands like /cred or session statusmessage- Error or status messages in JSON formaterror- Error details in JSON format
Dependencies
- Telegram API credentials (apiId, apiHash, phoneNumber)
Troubleshooting
- Common issues include unexpected authentication states, unauthorized errors, and closed client sessions.
- Error 'A closed client cannot be reused, create a new Client' indicates the session was closed and requires re-login.
- Error 'Unauthorized' means the user must log in again.
- Users should follow the guide at https://telepilot.co/login-howto for detailed login instructions and troubleshooting.
Links
- Telepilot Login How-To Guide - Official guide for logging in and managing Telegram sessions using Telepilot.