Sha256: 08ae42a3c628e660b684625e597dfa063f0fe35b0cb2912338657da63ba1c5af

Contents?: true

Size: 397 Bytes

Versions: 3

Compression:

Stored size: 397 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class Document < Base
        attribute :file_id, Types::String
        attribute :file_unique_id, Types::String
        attribute? :thumb, PhotoSize
        attribute? :file_name, Types::String
        attribute? :mime_type, Types::String
        attribute? :file_size, Types::Integer
      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/document.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/document.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/document.rb