8000 Remove dot which should be escaped on telegram by glukose · Pull Request #15420 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Remove dot which should be escaped on telegram #15420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
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
  • Loading branch information
glukose authored Jun 7, 2021
commit a6c1a4a6ae3e84df2259b38ef8971e434816788f
2 changes: 1 addition & 1 deletion notifier/chatters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
0