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

盼增频道搜索的功能 #54

Open
0bo opened this issue Dec 6, 2023 · 5 comments
Open

盼增频道搜索的功能 #54

0bo opened this issue Dec 6, 2023 · 5 comments
Labels

Comments

@0bo
Copy link

0bo commented Dec 6, 2023

您好,

非常感谢制作这么棒的工具,解决了中文搜索大麻烦。

测试了一下,将bot作为管理员加入频道,貌似没有办法激活搜索。

后续是否可能增加相应功能?

早期建立的几个个人收藏都是频道类型的,没有用群组模式 😢 唉。。。

@Taosky Taosky added the todo label Dec 6, 2023
@tsaoshuang
Copy link

同求

1 similar comment
@wsnsnsns
Copy link

同求

@Taosky
Copy link
Owner

Taosky commented Mar 26, 2024

由于频道和群组差异较大,现有代码再去兼容有点困难,准备新建一个项目实现😞

@Radisnt01
Copy link

Radisnt01 commented Apr 12, 2024

在群组使用频道身份发言的似乎也无法搜索到,并且还会报错

2024-04-12 15:25:26 tgbot  | Traceback (most recent call last):
2024-04-12 15:25:26 tgbot  |   File "/usr/local/lib/python3.9/site-packages/telethon/client/updates.py", line 543, in _dispatch_update
2024-04-12 15:25:26 tgbot  |     await callback(event)
2024-04-12 15:25:26 tgbot  |   File "/app/userbot.py", line 130, in handle_edit_message
2024-04-12 15:25:26 tgbot  |     from_id = event.from_id.user_id
2024-04-12 15:25:26 tgbot  | AttributeError: 'PeerChannel' object has no attribute 'user_id'```

@Taosky
Copy link
Owner

Taosky commented Apr 12, 2024

在群组使用频道身份发言的似乎也无法搜索到,并且还会报错

2024-04-12 15:25:26 tgbot  | Traceback (most recent call last):
2024-04-12 15:25:26 tgbot  |   File "/usr/local/lib/python3.9/site-packages/telethon/client/updates.py", line 543, in _dispatch_update
2024-04-12 15:25:26 tgbot  |     await callback(event)
2024-04-12 15:25:26 tgbot  |   File "/app/userbot.py", line 130, in handle_edit_message
2024-04-12 15:25:26 tgbot  |     from_id = event.from_id.user_id
2024-04-12 15:25:26 tgbot  | AttributeError: 'PeerChannel' object has no attribute 'user_id'```

还有这种操作,有空看看。

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

No branches or pull requests

5 participants