README.md in tgbot-0.2.2 vs README.md in tgbot-0.2.3

- old
+ new

@@ -1,9 +1,9 @@ # Tgbot [![Gem Version](https://badge.fury.io/rb/tgbot.svg)](https://badge.fury.io/rb/tgbot) -![Bot API Version](https://img.shields.io/badge/Bot%20API-4.1-blue.svg?style=flat-square) +![Bot API Version](https://img.shields.io/badge/Bot%20API-4.3-blue.svg?style=flat-square) ![](https://img.shields.io/badge/License-MIT-lightgrey.svg?style=flat-square) A tiny but easy-to-use wrapper of [Telegram Bot API](https://core.telegram.org/bots/api). ## Install @@ -13,15 +13,15 @@ ## Usage ```ruby Tgbot.run TOKEN, proxy: 'http://127.0.0.1:1080' do on 'start' do - reply '#{name}, at your service.' + reply "#{name}, at your service." end end # or bot = Tgbot.new TOKEN, proxy: 'http://127.0.0.1:1080' -bot.on('start'){ reply '#{name}, at your service.' } +bot.on('start'){ reply "#{name}, at your service." } bot.run # will block current thread ``` ### `Tgbot.run token, **options do (block) end`