Sha256: 3df498ec990a82119e365460c9e7259921d4d5185a115e59dbaf8dd3be627346

Contents?: true

Size: 224 Bytes

Versions: 5

Compression:

Stored size: 224 Bytes

Contents

require_relative 'objects'

class TelegramBot::Audio <
      Struct.new(:id, :duration, :mime_type, :file_size)
  include TelegramBot::AutoFromMethods

  def self.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/audio.rb
telegram_bot_ruby-0.1.6 lib/telegram_bot/audio.rb
telegram_bot_ruby-0.1.5 lib/telegram_bot/audio.rb
telegram_bot_ruby-0.1.3 lib/telegram_bot/audio.rb
telegram_bot_ruby-0.1.1 lib/telegram_bot/audio.rb