Files
Telegram-Panel/docs/sync.md

28 lines
895 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# “同步”功能说明
## 同步到底同步什么?
同步 = 从 Telegram 拉取并更新本地数据库中的“账号创建的数据”,主要用于**列表展示/筛选/分组/批量操作**
- 账号创建的频道Channel
- 账号创建的群组Group
它不是:
- 手机号登录/收验证码
- 检测账号是否冻结/封禁
- 同步消息/聊天记录
## 为什么需要同步?
面板的频道/群组列表、分类、批量任务都依赖本地数据库。同步负责把 Telegram 侧的最新信息拉下来并落库。
## 自动同步是什么?
“自动同步”就是定时在后台执行同样的同步逻辑。
- 默认关闭:避免频繁调用 Telegram API。
- 开启后会写入本地覆盖配置Docker 下在 `./docker-data/appsettings.local.json`)。
如果你不需要自动同步:保持关闭,平时用手动同步即可。