README.md in tgbot-0.2.2 vs README.md in tgbot-0.2.3
- old
+ new
@@ -1,9 +1,9 @@
# Tgbot
[](https://badge.fury.io/rb/tgbot)
-
+

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`