Package Information
Downloads: 56 weekly / 295 monthly
Latest Version: 0.1.1
Available Nodes
Documentation
n8n-nodes-dudes-telegram-mtproto
Minimal n8n community node for Telegram MTProto chat history retrieval using a user account.
Features
- Get last N messages from a chat, group, or channel
- Accepts @username, numeric IDs, and invite links
- Returns basic media metadata
- Includes a session generator script
Install (custom nodes folder)
- Clone/build inside your custom nodes directory (e.g.,
/home/node/.n8n/nodes). - Install dependencies and build:
npm install
npm run build
- Restart n8n.
Generate Session String
npm run session:mtproto
Copy the SESSION_STRING output into the credentials.
Credentials
- API ID
- API Hash
- Phone Number
- Session String (plain GramJS session)
Node Usage
Resource: Message
Operation: Get Chat History
Parameters:
- Chat ID / Username / Invite Link
- Limit
License
MIT