Open paskal opened 1 year ago
The problem here is that a telegram message is HTML, so cutting it requires HTML parsing and not just cutting by the number of symbols. Also, ideally, we should not count HTML tags which don't consume screen space but only alter the appearance of the text.
Hi @paskal
Can you provide some more background on the issue.
@HARDY8118, what kind of details do you need? The issue is that messages are sometimes unnecessarily long and should be truncated, but it's tricky as they are HTML and not just text.
It makes sense not to cite long messages in Telegram, leaving 50 or 100 messages should be enough.