Repository navigation
Replies: 1 comment
|
你好!按点赞数排序下载是一个很有趣的功能建议。 当前的实现方式: 目前可以使用 chat:
- chat_id: your_chat_id
last_read_message_id: 0
download_filter: "reactions and reactions.count >= 10" # 下载点赞数>=10的消息更精确的过滤: 如果要按特定表情的点赞数过滤: download_filter: "reactions and any(r.emoji == 👍 and r.count >= 5 for r in reactions)"关于排序和限制前N条: 目前程序不支持直接按点赞数排序后只下载前N条。这需要:
你提到的 SQL 方案: 这是个好想法!可以:
功能建议: 建议作者可以考虑添加: chat:
- chat_id: your_chat_id
sort_by: reactions_count # 按点赞数排序
sort_order: desc # 降序
limit: 100 # 只下载前100条这是一个很实用的功能,特别适合下载热门内容! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
群组消息蛮多的,要是能过滤就好了,或者自己写SQL
All reactions