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
I could reproduce the same bug using the Bot API for python or even some Telegram clients, so I have reported the bug to https://t.me/Support:
Bug Report
I found a small bug when sending messages that contain large amounts of formatted text. Only the first part of all formatting will be applied. Because I can reproduce it using multiple clients (Telegram Web/Android) as well as the Bot API, I think it's an issue in the back end.
Here is how to reproduce it: Send the following message with Markdown markup to any chat: **a**a , but repeat it 200 times in the same message (i.e., in Python you could evaluate: '**a**a ' * 200. Alternatively, send '<b>b</b><u>u</u>' * 100 using the Bot API with HTML markup (tested with the API implementations for Python and Smalltalk).
The expected behavior would be that the entire message is formatted following the same pattern. However, only the first part of the message is formatted correctly. It appears that the formatting tags are truncated somewhere. This limitation should be either fixed or at least be documented in the APIs, including the Bot API.
Example to reproduce:
Expected result: A message is sent where all characters are formatted in bold and italic in an alternating manner.
Actual result: The message is sent, but only the first part is formatted correctly:
The text was updated successfully, but these errors were encountered: