0.17.0 • Published 9 months ago

@mtcute/node v0.17.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@mtcute/node

šŸ“– API Reference

Node.js support package for mtcute. Includes:

  • Support for native crypto addon (must be installed separately, @mtcute/crypto-node)
  • Terminal I/O via readline
  • SQLite storage (via better-sqlite3)
  • TCP transport (via node:net)
  • TelegramClient implementation using the above
  • HTML and Markdown parsers

Usage

import { TelegramClient } from '@mtcute/node'

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

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

10 months ago

0.17.0

9 months ago

0.16.9

10 months ago

0.16.3

12 months ago

0.16.6

11 months ago

0.16.7

11 months ago

0.13.0

1 year ago

0.14.0

1 year ago

0.15.0

1 year ago

0.16.0

12 months ago

0.15.1

1 year ago

0.16.2

12 months ago

0.12.0

1 year ago

0.11.0

1 year ago

0.10.0

1 year ago

0.9.1

1 year ago

0.9.0

1 year ago

0.8.0

1 year ago

0.7.0

1 year ago

0.5.0

2 years ago

0.6.0

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago