Sha256: 865586ab4e40b67b42f005f1a0b5a2ce09ff970fb3445ff2bbce952d9c342311

Contents?: true

Size: 217 Bytes

Versions: 5

Compression:

Stored size: 217 Bytes

Contents

require_relative 'objects'

class TelegramBot::PhotoSize <
      Struct.new(:id, :width, :height, :file_size)
  include TelegramBot::AutoFromMethods

  def hash_key_aliases
    {
      :id => :file_id
    }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
telegram_bot_ruby-0.1.7 lib/telegram_bot/photo_size.rb
telegram_bot_ruby-0.1.6 lib/telegram_bot/photo_size.rb
telegram_bot_ruby-0.1.5 lib/telegram_bot/photo_size.rb
telegram_bot_ruby-0.1.3 lib/telegram_bot/photo_size.rb
telegram_bot_ruby-0.1.1 lib/telegram_bot/photo_size.rb