telegramAPI
telegramAPI copied to clipboard
A lightweight Ruby API for Telegram Bots
When using Ruby >= 2.7.2, a ``` /app/vendor/bundle/ruby/2.7.0/gems/telegramAPI-1.4.2/lib/telegramAPI.rb:22: warning: URI.escape is obsolete ``` message gets triggered. This should solve the issue. Source: https://docs.knapsackpro.com/2020/uri-escape-is-obsolete-percent-encoding-your-query-string
I would like to use this lib, it's fast and reliable, but unfortunately for the following code: ```ruby api.sendMessage(this_chat_id, "...", { "parse_mode"=> "Markdown", "reply_markup"=>{ "keyboard"=>[["1", "2"]], # Other optional settings:...