Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Login → Remove Td_database

AI-generated

Overview

This node operation handles the removal of the local Telegram TDLib database for a logged-in Telegram account. It disconnects the Telegram account and clears the local session data, requiring the user to log in again. This is useful for resetting the Telegram session or troubleshooting login issues by clearing stored session data.

Use Case Examples

  1. A user wants to reset their Telegram session to fix login problems by removing the local TDLib database.
  2. An automation workflow needs to ensure a fresh login state by clearing the local Telegram session data before proceeding.

Output

JSON

  • text - Status message indicating the Telegram account has been disconnected and the local session cleared, along with instructions for re-login and help.

Dependencies

  • An API key credential for Telegram authentication

Troubleshooting

  • If the node throws an error about the session being closed or unauthorized, it means the Telegram session is no longer valid and the user must log in again.
  • Ensure the Telegram API credentials (apiId, apiHash, phoneNumber) are correctly configured to avoid authentication errors.
  • If the local TDLib database removal fails, check file system permissions and ensure the node has access to delete local session files.

Links

Discussion