Virtus types for telegram bot api. See PR for dry-types support
MIT License
Virtus types for Telegram Bot API.
Add following line to your Gemfile:
gem 'telegram-bot-types'
And then execute:
$ bundle
Or install it system-wide:
$ gem install telegram-bot-types
updates = bot.get_updates.map do |x|
Telegram::Bot::Types::Update.new(x)
end