Files
2025-05-24 18:02:34 +00:00
..
2025-05-24 18:02:34 +00:00
2024-07-26 06:46:18 +03:00
2024-08-24 22:55:25 +03:00

@mtcute/deno

📖 API Reference

‼️ Experimental Deno support package for mtcute. Includes:

  • SQLite storage (based on @db/sqlite)
  • TCP transport (based on Deno-native APIs)
  • TelegramClient implementation using the above
  • HTML and Markdown parsers

Usage

import { TelegramClient } from '@mtcute/deno'

const tg = new TelegramClient({
    apiId: 12345,
    apiHash: 'abcdef',
    storage: 'my-account'
})

const self = await tg.start()
console.log(`✨ logged in as ${self.displayName}`)