feat: sync multilayer td integration
This commit is contained in:
parent
20a310f6ca
commit
766c5db992
491 changed files with 26235 additions and 35340 deletions
|
|
@ -4,6 +4,11 @@
|
|||
它是一个 Telegram-like backend,面向真实客户端兼容、自建聊天实验、协议研究,
|
||||
以及一条长期可演进的社区 server 路线。
|
||||
|
||||
协议栈基于已发布的
|
||||
[`github.com/iamxvbaba/td`](https://github.com/iamxvbaba/td) module
|
||||
(`v1.0.0`),使用 canonical Layer 228 schema,并提供 exact Layer 225-228
|
||||
compatibility profiles。
|
||||
|
||||
如果你正在搜索 **Telegram server 实现**、**MTProto server 实现**、
|
||||
**Telegram 后端**、**Telegram clone server**、**自建 Telegram-like 聊天服务器**,
|
||||
这个仓库就是可以运行、研究和共同优化的 server 侧实现。
|
||||
|
|
@ -37,7 +42,7 @@ https://github.com/user-attachments/assets/25e651dc-a022-4d60-8b9b-ca3e8bfe216c
|
|||
|
||||
| 状态 | 功能 | 当前已实现 |
|
||||
|---|---|---|
|
||||
| ✅ | MTProto server 接入层 | TCP transport、RSA key exchange、auth key、加密 session、salt、ack/resend、bad message、RPC dispatch、layer 兼容辅助。 |
|
||||
| ✅ | MTProto server 接入层 | TCP transport、RSA key exchange、auth key、加密 session、salt、ack/resend、bad message、RPC dispatch、canonical Layer 228,以及 exact Layer 225-228 compatibility profiles。 |
|
||||
| ✅ | 登录与账号 | 开发验证码登录、sign-in、sign-up、log-out、授权设备、账号设置、SRP/password 状态、email/passkey 相关路径。 |
|
||||
| ✅ | 用户与联系人 | 用户资料、username、头像、联系人导入/搜索、block/privacy 状态、presence、last seen。 |
|
||||
| ✅ | 会话与同步 | dialog list、置顶、手动未读、folders/filters、草稿、read boundary、durable updates、在线 fan-out、离线 difference 恢复。 |
|
||||
|
|
@ -199,7 +204,8 @@ TELESRV_PUBLIC_APP_NAME=YourApp
|
|||
当前 Telegram Desktop 基线:
|
||||
|
||||
- Telegram Desktop commit:`9caf32dffc90ddd9bb08ad5777b865f729fa167b`
|
||||
- TL layer:227
|
||||
- Canonical TL layer:228
|
||||
- Exact compatibility profiles:Layer 225-228
|
||||
- 本地 DC:`127.0.0.1:2398`,DC id `2`
|
||||
|
||||
等 `gramsrv` 生成 `data/server_rsa.pem` 后,导出匹配的公钥:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue