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 :)
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!