Telegram::Bot::Types

Virtus types for Telegram Bot API.

Gem Version Build Status

Installation

Add following line to your Gemfile:

gem 'telegram-bot-types'

And then execute:

$ bundle

Or install it system-wide:

$ gem install telegram-bot-types

Usage

updates = bot.get_updates.map do |x|
  Telegram::Bot::Types::Update.new(x)
end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request