Skip to main content

@mtproto/core

Telegram API JS (MTProto) client library for Node.js and browser

Actual

158 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 support

Use the library's built-in function to calculate 2FA parameters

Secure

Complies with Telegram security guidelines