n8n-nodes-pyrogram-plus
Full-featured Telegram MTProto client for n8n with session management.
This node is a complete Telegram client (like Pyrogram for Python) that allows you to perform any client-side Telegram operations directly from n8n workflows.
Features
- ✅ 25+ Operations: Messages, Chats, Users, Media, Channels
- 🔐 Session Management: Automatic session persistence with StringSession
- 📱 Client-side: Full MTProto implementation (not a bot API)
- 🚀 No External Server: Everything runs directly in n8n
Installation
npm install n8n-nodes-pyrogram-plus
Or install directly in n8n GUI:
- Go to Settings → Community Nodes
- Click Install
- Enter:
n8n-nodes-pyrogram-plus
First Time Setup
- Get API credentials from https://my.telegram.org/apps
- Create new Telegram MTProto API credentials in n8n
- Enter your API ID, API Hash, and Phone Number
- Leave Session String empty for first run
- Run the workflow - you'll get an error with your session string
- Copy the session string and save it in credentials
- Now you can use the node without authentication prompts!
Supported Operations
Messages (15)
- Send Text, Photo, Video, Document, Audio, Voice
- Forward, Edit, Delete Messages
- Get Messages, History, Search
- Send Poll, Pin/Unpin Messages
Chats (10)
- Get Chat Info, Dialogs, Participants
- Join/Leave Chat
- Create Group/Channel
- Ban/Unban/Promote Users
Users (6)
- Get Me, Users, Profile Photos
- Update Profile, Username
- Get Full User Info
Media (2)
- Download Media
- Send Album (Media Group)
Channels (3)
- Get Admin Log, Participants
- Edit Admin Rights
License
MIT
Credits
Built with GramJS - Telegram MTProto library for JavaScript