0.1.3 • Published 1 year ago
n8n-nodes-telegram-client v0.1.3
n8n-nodes-telegram-client
This is a comprehensive Telegram Client node for n8n that allows you to interact with Telegram as a regular user (not a bot). It provides access to advanced Telegram features that are not available through the regular bot API.
Features
- 🔐 Full user authentication support
- 📝 Complete message operations (send, edit, delete, pin)
- 📸 Media handling (photos, videos, documents)
- 👥 Chat management (join, leave, history)
- 💾 Session management for persistent authentication
- ⚡ Real-time updates and notifications
- 🔒 Secure credential storage
Installation
In n8n:
- Go to Settings > Community Nodes
- Click on Install a node from NPM
- Enter
n8n-nodes-telegram-client - Click Install
Manual Installation:
npm install n8n-nodes-telegram-clientConfiguration
Prerequisites
- Go to my.telegram.org
- Log in and create an application
- Note down your
api_idandapi_hash
In n8n:
- Go to Credentials
- Click Create New Credentials
- Select Telegram Client API
- Fill in:
- API ID (from my.telegram.org)
- API Hash (from my.telegram.org)
- Phone Number (international format)
- 2FA Password (if enabled)
First Use
- When using the node for the first time, you'll be prompted for a verification code
- Enter the code sent to your Telegram account
- The session will be saved for future use
Usage
Available Operations
Message Operations
sendMessage: Send text messagesreplyToMessage: Reply to existing messageseditMessage: Edit sent messagesdeleteMessages: Delete messagesforwardMessages: Forward messagespinMessage: Pin messages in chats
Media Operations
sendMedia: Send photos, videos, or documentssendAlbum: Send multiple media files as an albumdownloadMedia: Download media from messages
Chat Operations
getChatHistory: Get chat message historyjoinChat: Join channels or groupsleaveChat: Leave channels or groups
Example Usage
Send Message
{
"operation": "sendMessage",
"chatId": "@username or chat_id",
"messageText": "Hello from n8n!"
}Send Media
{
"operation": "sendMedia",
"chatId": "@username or chat_id",
"filePath": "/path/to/file.jpg",
"mediaType": "photo"
}Error Handling
The node includes comprehensive error handling:
- Authentication errors
- Network issues
- Invalid parameters
- API limitations
Security
- Credentials are stored securely in n8n
- Session strings are encrypted
- 2FA support included
- No plaintext password storage
Development
Build
npm install
npm run buildTest
npm testLint
npm run lintContributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
MIT License - see LICENSE file for details
Support
- Create an issue on GitHub
- Contact the maintainer
Acknowledgments
- Telegram Client API
- n8n Community
- Contributors
0.1.3
1 year ago
0.0.27
1 year ago
0.0.26
1 year ago
0.0.25
1 year ago
0.0.24
1 year ago
0.0.23
1 year ago
0.0.22
1 year ago
0.0.21
1 year ago
0.0.20
1 year ago
0.0.19
1 year ago
0.0.18
1 year ago
0.0.17
1 year ago
0.0.16
1 year ago
0.0.15
1 year ago
0.0.14
1 year ago
0.0.13
1 year ago
0.0.12
1 year ago
0.0.11
1 year ago
0.0.10
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago