Sha256: 687448795fb273c78582fca8143e05b3ce27b709a21ffb26b28cbb56f7505b81

Contents?: true

Size: 356 Bytes

Versions: 5

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class Voice < Base
        attribute :file_id, Types::String
        attribute :file_unique_id, Types::String
        attribute :duration, Types::Integer
        attribute? :mime_type, Types::String
        attribute? :file_size, Types::Integer
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/voice.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/voice.rb
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/voice.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/voice.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/voice.rb