Skip to content

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

Description

@gitiray

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions