mtcute/packages/node
2023-10-23 12:25:39 +03:00
..
index.ts fix(node): do not override .start() 2023-10-23 12:25:39 +03:00
package.json feat: new package to automatically scaffold bots 2023-10-22 20:18:12 +03:00
README.md docs: removed typedoc-plugin-coverage 2022-08-28 17:56:56 +03:00
tsconfig.json ESM + end-to-end tests (#11) 2023-10-16 19:23:53 +03:00
typedoc.js chore: code quality improvements 2023-06-05 00:30:48 +00:00

@mtcute/node

All-in-one package for NodeJS. Includes support for native crypto addon (must be installed separately, @mtcute/crypto-node), terminal I/O via readline and comes with pre-installed HTML and Markdown parsers.

Note

@mtcute/client. For full documentation, see @mtcute/client docs.

Usage

import { NodeTelegramClient } from '@mtcute/node'

const tg = new NodeTelegramClient({
    apiId: 12345,
    apiHash: 'abcdef',
    storage: 'client.session'
})