From a6c1a4a6ae3e84df2259b38ef8971e434816788f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?cl=C3=A9ment=20larrieu?= Date: Mon, 7 Jun 2021 16:52:58 +0200 Subject: [PATCH] Remove dot which should be escaped on telegram Hello, Hope I could help a little after I got stuck with an error message telling me to escape the dot, spend a few minutes trying to solve that, really thinking that the trouble was coming from the configuration and not from the example from the doc. Turns out that telegram wants you to escape the character '.' Should it be escaped in the documentation ? (But is it compatible with others channels ?) Or just removed, leaving the doc with a text that works on all channels ? Cheers --- notifier/chatters.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifier/chatters.rst b/notifier/chatters.rst index 237581556ec..a36f624be58 100644 --- a/notifier/chatters.rst +++ b/notifier/chatters.rst @@ -26,7 +26,7 @@ you to send messages to chat services like Slack or Telegram:: */ public function thankyou(ChatterInterface $chatter) { - $message = (new ChatMessage('You got a new invoice for 15 EUR.')) + $message = (new ChatMessage('You got a new invoice for 15 EUR')) // if not set explicitly, the message is send to the // default transport (the first one configured) ->transport('slack');