@johnpower71/mtproto-core

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

Usage no npm install needed!

<script type="module">
  import johnpower71MtprotoCore from 'https://cdn.skypack.dev/@johnpower71/mtproto-core';
</script>

README

@mtproto/core

NPM GitHub Actions Downloads Telegram channel

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

  • Actual. 121 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

Documentation

You can find the documentation on mtproto-core.js.org/docs website

License

GPLv3