Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按类型设定默认监听会话 #18

Open
gitiray opened this issue May 30, 2022 · 1 comment
Open

按类型设定默认监听会话 #18

gitiray opened this issue May 30, 2022 · 1 comment

Comments

@gitiray
Copy link

gitiray commented May 30, 2022

tg_searcher/README.md

Lines 73 to 79 in acff5df

- id: priv_idx
use_session: alice
config:
monitor_all: true # 当启用这一选项的时候,所有的会话均会被监听,新消息全部会被加入索引
excluded_chats: # 当 monitor_all 选项启用的时候,这个列表里的会话不会被监听
- 342843148
- 857204339

设置成 monitor_all 容易导致索引里有大量无用的群组消息,造成资源浪费。
不这样设置又需要针对每个会话单独设置索引(或排除)。

能否以【真人】【机器人】【频道】【群组】的方式区分会话类型,设定默认索引。
通常情况下只需要默认索引【真人】【机器人】【频道】就够了,检索群组时再临时下载聊天记录即可。

@chern91552
Copy link

如果能按照tg的文件夹维度就最好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants