What problem does it solve?
Working with Telegram's MTProto protocol in TypeScript requires navigating hundreds of TL schema types, raw API methods, and platform-specific setup. This Skill provides the operational knowledge and lookup tools to write correct mtcute code without guessing type names, method signatures, or package structure.
Core Features & Use Cases
- TL Schema Lookup: Resolve raw TL constructors, unions, and method definitions (e.g.,
user, messages.sendMessage) into TypeScript types via the bundled get-constructor tool.
- Client Method Discovery: Find signatures, parameters, and JSDoc for 300+ high-level TelegramClient methods like sendText, sendMedia, and getHistory with fuzzy matching.
- High-Level Type Inspection: Inspect wrapper classes such as Message, Chat, User, and CallbackQuery with full member definitions.
- Use Case: You are building a Telegram userbot that replies to private messages and downloads media. Use this Skill to scaffold the client with @mtcute/node, wire up the Dispatcher with filters, and look up the exact InputMedia types for file uploads.
Quick Start
Ask the assistant to write an mtcute bot that logs in with a bot token and replies to new private messages, and it will use the bundled lookup tools to verify every method and type.