monolog-telegram-handler icon indicating copy to clipboard operation
monolog-telegram-handler copied to clipboard

Handler ignores Telegram's limit of message length

Open maximzasorin opened this issue 6 years ago • 0 comments
trafficstars

In Telegram there is a limit on the length of the message text of 4096 characters, if the text is longer, then the message is not sent.

I think that there are such solutions:

  • cut the record to 4096 characters and send in one message
  • split a record and send in multiple messages
  • send record longer than 4096 characters as a file

maximzasorin avatar May 16 '19 21:05 maximzasorin