Dry-struct for VK Group Bot API 5.92.
Add following line to your Gemfile:
gem 'vk-bot-types'
And then execute:
$ bundle
Or install it system-wide:
$ gem install vk-bot-types
updates = bot.get_updates.map do |x|
VK::Bot::Types::Update.new(x)
end
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request