Open Eikosa opened 1 year ago
I accept PRs. I've tried this before but opted for just sending the .md file due to the complexity in splitting file without breaking the telegram markdown/html parser. If code is involved, too many edge cases have to be taken into account to catch possible errors.
I accept PRs. I've tried this before but opted for just sending the .md file due to the complexity in splitting file without breaking the telegram markdown/html parser. If code is involved, too many edge cases have to be taken into account to catch possible errors.
It would be good for me even if the Markdown format sends it corrupted, because it is very difficult to open the file every time.
Also, as far as I know, Pyrogram can solve this very easily, even if it is a broken markdown, it can send messages without any problem.
Maybe. But I use python-telegram-bot. Also this isn't a problem related to the library but the telegram bot API, that only allows a subset of html/markdown tags
It would be better for me if it would send multiple messages instead of sending a md file when it needs a long reply, I think a setting could be added for that.