Sha256: ac471cf0b87360425347857f629cee08cd56598c3dbb3c815a477eabff98324a

Contents?: true

Size: 524 Bytes

Versions: 3

Compression:

Stored size: 524 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? :thumb, PhotoSize
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/audio.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/audio.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/audio.rb