Sha256: a68fce296883343015e2f251b6e081aaa62bb19f5a5ee86fdcb15d72045bbf83

Contents?: true

Size: 415 Bytes

Versions: 6

Compression:

Stored size: 415 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class Game < Base
        attribute :title, Types::String
        attribute :description, Types::String
        attribute :photo, Types::Array.of(PhotoSize)
        attribute? :text, Types::String
        attribute? :text_entities, Types::Array.of(MessageEntity)
        attribute? :animation, Animation
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.2.0 lib/telegram/bot/types/game.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/game.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/game.rb
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/game.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/game.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/game.rb