feat(qqbot): enhance message sending with Markdown support and image size detection

- Added `use_markdown` parameter to `send_proactive_c2c_message` and `send_proactive_group_message` for Markdown formatting.
- Implemented methods to escape Markdown characters and format messages accordingly.
- Introduced image size detection for Markdown image rendering.
- Updated message sending logic to fallback to plain text if Markdown is unsupported.
This commit is contained in:
EkkoG
2026-03-07 23:51:30 +08:00
parent 65c18b1d52
commit 425b822046
3 changed files with 110 additions and 20 deletions
+2 -1
View File
@@ -1 +1,2 @@
# MoviePilot V2版本,大部分设置可通过后台设置界面进行配置,仅个别配置需要通过环境变量或本配置文件配置,所有可配置项参考:https://wiki.movie-pilot.org/zh/configuration
# MoviePilot V2版本,大部分设置可通过后台设置界面进行配置,仅个别配置需要通过环境变量或本配置文件配置,所有可配置项参考:https://wiki.movie-pilot.org/zh/configuration
API_TOKEN='8xKVMvGB6xgI0EctObr48or8fdb5Zwm0'