Index

MTKruto is a Telegram client library for JavaScript.

Its key features include:

  • Cross-runtime
        Supports Node.js, Deno, browsers, and Bun.

  • Type-safe
        Written in TypeScript with accurate typings.

  • Prioritizes the Web
        Prefers Web APIs over runtime-specific APIs.

  • Easy-to-use
        Provides its own high-level API on top of the Telegram API.

  • Extensible
        Its middleware system lets you integrate external code.

Walkthrough

  1. Installation
  2. Starting the Client
  3. Calling Methods
  4. Handling Updates
  5. Working with Messages
  6. Commands
  7. Reactions

Guides

  1. Flood Waits

  2. Log Verbosity

  3. Splitting Code

  4. Storage Adapters

  5. Auth Strings

  6. Interacting with Telegram API

  7. Graceful Shutdown

API Reference

Misc