Sha256: 51385a885fc225e10265e11e5f1fad19838f0078388fbfeeff253647042408b6

Contents?: true

Size: 401 Bytes

Versions: 2

Compression:

Stored size: 401 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? :thumbnail, PhotoSize
        attribute? :file_name, Types::String
        attribute? :mime_type, Types::String
        attribute? :file_size, Types::Integer
      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/document.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/document.rb