appleboy / appleboy/telegram-action
Bad Request: message is too long
- Dominant language
- Dockerfile
- Stars
- 1k
- Forks
- 126
- Avg merge
- 7m
- Merged PRs (30d)
- 1
Description
It seems [Telegram Bot API](https://core.telegram.org/bots/api) limits to 4096 characters per message, so sending a string or a text file that exceeds this limit will make this action returns `Bad Request: message is too long`.
Would it be possible to "automagically" break bigger messages in smaller messages in order to meet this limit?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the linked Telegram Bot API documentation and the repository's GitHub Action implementation to understand how strings and text files are sent. Done means inputs exceeding Telegram's 4096-character limit are handled without the Bad Request error while remaining within the API limit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100