@mtproto/core
259 subscribers
20 photos
14 links
Changelog, memes and polls 🙃

Docs: https://mtproto-core.js.org/docs/
Author channel: @alik0211_en
Download Telegram
Channel created
Support NodeJS add in version 3.0.0-beta.2. This version support only second DC.

Install: yarn add -E @mtproto/core@beta
🔥1
Support for all DC's add in version 3.0.0-beta.3. Also add support 2FA for NodeJS

New argument in call: mtproto.call(method, params, options)

1. Authorization is automatically copied to all DC if the options.syncAuth flag is set to true. Default options.dcId is false. Note: it makes sense to set this flag only for authorization methods, for example: auth.signIn and auth.checkPassword.
2. To make a call on a specific DC, pass the options.dcId. Default options.dcId is 2

Install: yarn add -E @mtproto/core@beta