Sha256: 8ec475cc61105824b33207b1e321dc8b760410090309d9df681bc6fc78b4b533

Contents?: true

Size: 437 Bytes

Versions: 6

Compression:

Stored size: 437 Bytes

Contents

module TD::Types
  # Represents the type of a file.
  class FileType < Base
    %w[
      none
      animation
      audio
      document
      photo
      profile_photo
      secret
      secret_thumbnail
      secure
      sticker
      thumbnail
      unknown
      video
      video_note
      voice_note
      wallpaper
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/file_type/#{type}"
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/file_type.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/file_type.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/file_type.rb
tdlib-ruby-2.2.0 lib/tdlib/types/file_type.rb
tdlib-ruby-2.1.0 lib/tdlib/types/file_type.rb
tdlib-ruby-2.0.0 lib/tdlib/types/file_type.rb