telegram-bot
telegram-bot copied to clipboard
Ruby gem for building Telegram Bot with optional Rails integration
This update is to add proxy authorization featrue to http client initialization. After it only need to add three environments: ``` HTTP_PROXY=http://1.2.3.4:5678 HTTP_PROXY_USER=username_for_proxy HTTP_PROXY_PASSWORD=password_for_proxy ``` It made with the help...
Due to official FAQ https://core.telegram.org/bots/faq#how-can-i-make-requests-in-response-to-updates, it's possible to reply direcly to Telegram requests in webhook mode. It's a preferrable way for highly-loadded bots because of reducing API calls. As I...
When you `require 'telegram/bot/rspec/integration/rails'` as specified in the [documentation](https://github.com/telegram-bot-rb/telegram-bot/tree/master#testing), the shared_context `telegram/bot/integration/rails` is automatically included in all examples with the `type: request` metadata. https://github.com/telegram-bot-rb/telegram-bot/blob/a16928267a7bbd75a77c43c54a41f886458524fe/lib/telegram/bot/rspec/integration/rails.rb#L3C73-L3C73 In my opinion, this behavior seems...
When using Poller mode, `save_context` does not trigger passed method when used in group chat but works in bot's chat. Below is when used in group chat:  It does...
Hello, I'm running bot in poller mode and getting timeout and SSL issues sometimes. Here is how I launch poller in rake task: `Telegram::Bot::UpdatesPoller.new(Telegram.bots[:default], BotController).start` Library version: *0.15.7* Runtime: *Docker*...
Right now the gem is basically logging the complete payload: ```ruby def start_processing(event) info do payload = event.payload "Processing by #{payload[:controller]}##{payload[:action]}\n" \ " Update: #{payload[:update].to_json}" end end ``` I think...
I'm currently setting up new Rails 8 projects and porting my Telegram bots code over (for notifications, etc) and I'm encountering the following error when running `bundle` in CLI. Is...