Sha256: aa2b7d456a2dd113b820dd6b6804e61fdafe5189bd394b86569f7035744872b3

Contents?: true

Size: 528 Bytes

Versions: 2

Compression:

Stored size: 528 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class Audio < Base
        attribute :file_id, Types::String
        attribute :file_unique_id, Types::String
        attribute :duration, Types::Integer
        attribute? :performer, Types::String
        attribute? :title, Types::String
        attribute? :file_name, Types::String
        attribute? :mime_type, Types::String
        attribute? :file_size, Types::Integer
        attribute? :thumbnail, PhotoSize
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/audio.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/audio.rb