Actions37
- Chat Actions
- Contact Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- Request Actions
- User Actions
User → Create New Secret Chat
AI-generatedOverview
This node operation creates a new secret chat with a specified user on Telegram. It is useful for initiating private, encrypted conversations with another user by providing their user ID. For example, a user can automate the creation of secret chats for secure communication within a workflow.
Use Case Examples
- Creating a secret chat with a user by specifying their user ID to start an encrypted conversation.
- Automating the setup of private chats for customer support or confidential discussions.
Properties
| Name | Meaning |
|---|---|
| User ID | The ID of the user with whom to create the new secret chat. This is required to identify the chat recipient. |
Output
JSON
id- The unique identifier of the newly created secret chat.type- The type of chat, which will indicate it is a secret chat.user_id- The user ID of the chat participant.state- The current state or status of the secret chat.
Dependencies
- Requires Telegram API credentials (API ID, API Hash, and phone number) for authentication.
Troubleshooting
- If the node throws an error about the session being closed or unauthorized, it means the Telegram session has expired or is invalid. The user must re-authenticate using the login process.
- Errors related to invalid user ID or permissions may occur if the user ID does not exist or the bot/account does not have access to create a secret chat with that user.
- Ensure the Telegram credentials are correctly set up and the session is active before executing this operation.
Links
- TelePilot Login Guide - Instructions on how to log in and authenticate the Telegram account for using the TelePilot node.