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

[自定义订阅]TG发送消息的时候不成功,日志提示message caption is too long #458

Open
wyjistest opened this issue Aug 29, 2024 · 0 comments

Comments

@wyjistest
Copy link

【ERROR】2024-08-29 10:30:34,896 - telegram.py - 发送消息失败:A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: message caption is too long
【WARNING】2024-08-29 10:30:28,040 - common.py - A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: message caption is too long, 6 秒后重试 ...
【WARNING】2024-08-29 10:30:24,201 - common.py - A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: message caption is too long, 3 秒后重试 ...
,userid=None
【你提供的文本总共有 2519 个字符(包括空格和标点符号)。】

查了MP的issue,发现有个commit是针对微信长文本发送的,好像TG限制是1024个字符,能否也分段发送?

老大有时间看看啥情况。

jxxghp/MoviePilot@ad9e1a5

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

No branches or pull requests

1 participant