bostrot / telegram-support-bot

A Telegram ticketing/supporting system.
https://botspace.bostrot.com
GNU General Public License v3.0
447 stars 152 forks source link

launched via npm #116

Closed MrKira34 closed 2 years ago

MrKira34 commented 2 years ago

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.

bostrot commented 2 years ago

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 2 years ago

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\."

bostrot commented 2 years ago

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