没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
@ mtproto /核心 用于浏览器和Node.js的电报API JS(MTProto)客户端库 实际。 API方案中的121层 快速。 将WebSocket用于浏览器并将TCP用于nodejs 简单。 密码和字节被隐藏。 向API 聪明。 自动所有DC上的 活动。 通过EventEmitter API 2FA。 使用来计算2FA参数 安装 yarn add @mtproto/core -E # or npm i @mtproto/core -E 快速开始 您需要api_id和api_hash 。 如果还没有,请按照官方说明进行操作:。 const { MTProto } = require ( '@mtproto/core' ) ; const api_id = 'YOU_API_ID' ; const api_hash = 'YOU_API_HASH' ; // 1. Create an instance const mtproto = new MTProto ( { api_id , api_hash , } ) ; // 2. Provide params fo
资源推荐
资源详情
资源评论
收起资源包目录
mtproto-core-master.zip (45个子文件)
mtproto-core-master
.gitignore 393B
contributing.md 146B
package.json 2KB
src
transport
index.browser.js 100B
index.js 91B
tcp
index.js 2KB
obfuscated
index.js 2KB
socket
index.js 2KB
storage
local
index.browser.js 100B
index.js 438B
temp
index.js 298B
index.js 1KB
index.js 3KB
__tests__
utils
common.js 4KB
utils
pq
index.js 2KB
crypto
sha1
index.browser.js 126B
index.js 230B
index.js 4KB
sha256
index.browser.js 132B
index.js 236B
pbkdf2
index.browser.js 411B
index.js 189B
rsa
index.js 4KB
common
index.js 2KB
logger
index.js 515B
random
index.browser.js 163B
index.js 162B
rpc
index.js 21KB
tl
counter
index.js 1KB
serializer
index.js 3KB
deserializer
index.js 2KB
changelog.md 263B
scheme
mtproto.json 9KB
api.json 228KB
LICENSE 34KB
index.js 139B
.github
workflows
test.yml 993B
scripts
generate-builder.js 4KB
generate-parser.js 3KB
readme.md 6KB
.npmignore 61B
docs
authentication.md 2KB
handling-common-errors.md 1KB
yarn.lock 179KB
index.d.ts 957B
共 45 条
- 1
资源评论
鸡糟的黄医桑
- 粉丝: 24
- 资源: 4638
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功