lib/telegram/bot/client.rb in telegram-bot-ruby-0.22.0 vs lib/telegram/bot/client.rb in telegram-bot-ruby-0.23.0
- old
+ new
@@ -50,9 +50,10 @@
private
def default_options
{
offset: 0,
+ timeout: 20,
logger: NullLogger.new,
url: 'https://api.telegram.org',
environment: :production
}
end