Skip to content

Virtus types for telegram bot api. See PR for dry-types support

License

Notifications You must be signed in to change notification settings

telegram-bot-rb/telegram-bot-types

Repository files navigation

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

About

Virtus types for telegram bot api. See PR for dry-types support

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published