Telegram API JS (MTProto) client library for Node.js and browser
npm install @mtproto/core



Telegram API JS (MTProto) client library for Node.js and browser
* Actual. 139 layer in the API scheme
* Fast. For the Node.js, it uses the TCP and crypto module. For the browser, it uses WebSocket and window.crypto
* Easy. Cryptography is hidden. Work with the API at a high level
* Smart. Automatically sync authorization on all DCs
* 2FA. Use the library's built-in function to calculate 2FA parameters
* Secure. Complies with Telegram security guidelines
You can find the documentation on mtproto-core.js.org/docs website
GPLv3