You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: