Skip to content
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

markdown square bracket characters [ ] dont work #52

Closed
lsaavedr opened this issue May 2, 2016 · 5 comments
Closed

markdown square bracket characters [ ] dont work #52

lsaavedr opened this issue May 2, 2016 · 5 comments
Labels

Comments

@lsaavedr
Copy link

lsaavedr commented May 2, 2016

dont work:

bot.api.sendMessage(chat_id: message.chat.id, text: "\[dont show in brackets\]", parse_mode: "Markdown")

work, but why?:

bot.api.sendMessage(chat_id: message.chat.id, text: "\\[show in brackets\]", parse_mode: "Markdown")

regards,
Luis

@atipugin
Copy link
Owner

atipugin commented May 4, 2016

I believe it's Telegram API's issue, as gem doesn't do any markdown transformation and sends your data as is.

@lsaavedr
Copy link
Author

HowTo see the RESTful request ?

@lsaavedr
Copy link
Author

maybe it is a faraday hash-parse-params-to-generate-request-url problem...

@lsaavedr
Copy link
Author

was because text must be surrounded with ' not with " (ruby style), but the second scape ']' it's not necessary and it's an API's issue?

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Feb 19, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants