Actions40
- Chat Actions
- Custom Request Actions
- Group Actions
- File Actions
- Login Actions
- Message Actions
- User Actions
- Contact Actions
Overview
This node integrates with Telegram via the TelePilot API, enabling various Telegram operations such as login management, user info retrieval, chat and message handling, file operations, and group management. Specifically, the 'Remove Td_database' operation under the 'Login' resource clears the local Telegram session database, effectively logging out the user and requiring a new login. This node is useful for automating Telegram account management and interactions, such as starting or stopping sessions, sending messages, managing chats, and handling media files.
Use Case Examples
- Automate Telegram login and logout processes.
- Clear local Telegram session data to reset login state.
- Send messages or media files to Telegram chats programmatically.
- Retrieve user or chat information from Telegram.
Output
JSON
text- Status or informational messages related to login and session management, e.g., confirmation of database removal and logout.
Dependencies
- TelePilot API credentials (apiId, apiHash, phoneNumber) required for authentication and API access.
Troubleshooting
- Common issues include session closure or termination requiring re-login, unauthorized access errors, and file-related errors when sending media.
- Error messages like 'A closed client cannot be reused' or 'Unauthorized' indicate the need to re-authenticate.
- Ensure correct Telegram API credentials and follow the login guide at https://telepilot.co/login-howto for setup and troubleshooting.
- File path errors or unsupported file formats may cause media sending failures; verify file existence and format compatibility.
Links
- TelePilot Login Guide - Official guide for logging in and managing Telegram sessions with TelePilot.