bostrot/telegram-support-bot

launched via npm

MrKira34 opened this issue · 3 comments

GrammyError: Call to 'sendMessage' failed! (400: Bad Request: can't parse entities: Character ')' is reserved and must be escaped with the preceding '\')
When I write a message to the bot, this is the error.

Seems there is a problem with the new MarkdownV2 escaping. Try to use characters that do not need escaping for now.

EDIT: try using "Markdown" instead of "MarkdownV2" for now. It still has escaping issues but that shouldn't trigger any exceptions.

IN80 commented

Did it, nothing changed. The \ characters also appear at the end of a sentence.

Example: "Thank you for contacting us\. We will answer as soon as possible\."

Try using the latest master branch. This should be fixed.