Log Out
Logs out of a Telegram account and disconnects the client session.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Client Id - The unique identifier of the Telegram client to log out from.
How It Works
The Log Out node disconnects a Telegram client session and removes it from the client registry. When executed, the node:
- Validates the provided Client Id input
- Retrieves the client instance associated with the Client Id
- Disconnects the client from Telegram
- Removes the client from the client registry
Requirements
- A valid Client Id from a previously created Telegram session
- The client must be currently active
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid Client Id
Usage Notes
- This node should be used to properly disconnect Telegram sessions when they are no longer needed
- After logging out, the Client Id becomes invalid and cannot be used in other nodes
- It's good practice to log out of sessions to free up resources
- The Client Id must correspond to an active Telegram client session