Sha256: bd22a7eb2835c87b099865cfb4c950b979ba1e7b0995ab519349d1b36d132241

Contents?: true

Size: 852 Bytes

Versions: 8

Compression:

Stored size: 852 Bytes

Contents

# Telegram::Bot::Types

Virtus types for Telegram Bot API.

[![Gem Version](https://badge.fury.io/rb/telegram-bot-types.svg)](http://badge.fury.io/rb/telegram-bot-types)
[![Build Status](https://travis-ci.org/telegram-bot-rb/telegram-bot-types.svg)](https://travis-ci.org/telegram-bot-rb/telegram-bot-types)

## Installation

Add following line to your Gemfile:

```ruby
gem 'telegram-bot-types'
```

And then execute:

```shell
$ bundle
```

Or install it system-wide:

```shell
$ gem install telegram-bot-types
```

## Usage

```ruby
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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
telegram-bot-types-0.6.3 README.md
telegram-bot-types-0.6.2 README.md
telegram-bot-types-0.6.1 README.md
telegram-bot-types-0.6.0 README.md
telegram-bot-types-0.5.0 README.md
telegram-bot-types-0.4.1 README.md
telegram-bot-types-0.3.0 README.md
telegram-bot-types-0.2.0 README.md