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

Sending long messages #1015

Open
Polm90 opened this issue Oct 21, 2022 · 0 comments
Open

Sending long messages #1015

Polm90 opened this issue Oct 21, 2022 · 0 comments

Comments

@Polm90
Copy link

Polm90 commented Oct 21, 2022

Hi,
if you try to send a long message (over 4000 characters) you receive a 400 error from the telegram server for a too long message.
This is something which is not (well) documented (I think it should be written better in the docs).

Can someone suggest a smart way to handle this (ie splitting in the right way the message, without cutting html tags, and sending each part subsequently?

However, it would be nice if the libraries could handle directly this, allowing the user to send too long messages in the right way :)

Thank you!

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