telegram-bot-ruby
                                
                                 telegram-bot-ruby copied to clipboard
                                
                                    telegram-bot-ruby copied to clipboard
                            
                            
                            
                        markdown square bracket characters [ ] dont work
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
I believe it's Telegram API's issue, as gem doesn't do any markdown transformation and sends your data as is.
HowTo see the RESTful request ?
maybe it is a faraday hash-parse-params-to-generate-request-url problem...
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?
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.