-
Notifications
You must be signed in to change notification settings - Fork 589
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
[Feature] telegram 消息内容增加 hashtag 以便于搜索 #401
Labels
enhancement
New feature or request
Comments
请更新至 dev 版尝试, 如无问题请 close 这个 issue |
试了不行,不过代码也不太对 |
不好意思我 docker-compose pull 下来用 docker-compose start 启动的还是旧镜像;docker-compose up 起新镜像现在可以了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Verify steps
Describe the Feature
没有 hashtag 时,telegram 通知按时间排列,难以肉眼跟踪特定站点的消息
Describe the solution
在 https://github.com/qiandao-today/qiandao/blob/master/libs/funcs.py#L153 处进行修改,将站点的二级域名部份作为 hashtag
例如 签到任务
#btschool
- 成功此时 #btschool 高亮为蓝色,且点击后进入按 #btschool 关键词搜索后的消息页面
要注意,hashtag 部分必须作为单独的实体,通过修改现在的 content 是不会让 TG 客户端高亮显示 hashtag 并进行索引的
可以参考 https://core.telegram.org/bots/update56kabdkb12ibuisabdubodbasbdaosd
Describe alternatives
No response
Additional context
希望的效果如图

点击后如图

The text was updated successfully, but these errors were encountered: