On some messages forwarded to the admin chat or edited in this chat by the bot occasionally, we get errors on entity decoding. This is likely some incompatibility with the message text and enforced markdown mode. I have tried to sanitize all I can, but to prevent those errors, this PR adds failback to plain text if the markdown send call fails.
On some messages forwarded to the admin chat or edited in this chat by the bot occasionally, we get errors on entity decoding. This is likely some incompatibility with the message text and enforced markdown mode. I have tried to sanitize all I can, but to prevent those errors, this PR adds failback to plain text if the markdown send call fails.