Interactive Content Support
Enhanced read_messages with automatic parsing of Telegram Todo lists and Polls, returning structured JSON data instead of raw objects. Added comprehensive Todo list parsing (titles, items, completion status, timestamps) and Poll parsing (questions, options, vote counts, metadata).
New Features
- Todo List Support - read_messages now automatically detects and parses Telegram Todo lists, extracting structured data including titles, completion status, and timestamps for each item
- Poll Support - Enhanced read_messages with comprehensive Poll parsing including questions, voting options, vote counts, and poll metadata (closed status, multiple choice, quiz mode)
- Enhanced MTProto API - invoke_mtproto now supports automatic TL object construction for complex nested structures like Todo lists and Polls
- Case-Insensitive Type Lookup - MTProto methods now accept type names in any case (inputmediatodo, INPUTMEDIATODO, inputMediaTodo all work)
- Improved Peer Resolution - Enhanced entity lookup with multi-type resolution (raw IDs, PeerChannel, PeerUser, PeerChat) for better chat identification
Fixes
- DRY Error Handling - Implemented decorator-based error handling pattern to eliminate code duplication across all tools
- Enhanced Error Logging - Improved parameter sanitization and structured error reporting
- Deployment Improvements - Enhanced deployment script with improved logging and SSH multiplexing, removed unnecessary Sablier labels
This release significantly enhances the Telegram MCP server's ability to work with interactive content, making Todo lists and Polls fully readable and actionable for AI assistants. The MTProto API is now much more powerful with automatic object construction, enabling creation of complex Telegram content types.
Full Changelog: 0.9.0...0.10.0