Sha256: 8ab54e5f5a2ebae646f76972c4ae2a50b5cdb34b2393ea67a09b28cb058e7392

Contents?: true

Size: 294 Bytes

Versions: 4

Compression:

Stored size: 294 Bytes

Contents

require_relative 'objects'

class TelegramBot::Sticker <
      Struct.new(:id, :width, :height, :thumb, :file_size)

  include TelegramBot::AutoFromMethods

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

  def self.extra_types
    {
      thumb: PhotoSize
    }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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