Sha256: 43672d0c47ff23055bd921febe9b4f9180e9c4562a5643895c24a9c1a17b6b2d

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

module TD::Types
  # Describes format of the thumbnail.
  class ThumbnailFormat < Base
    %w[
      jpeg
      png
      webp
      gif
      tgs
      mpeg4
    ].each do |type|
      autoload TD::Types.camelize(type), "tdlib/types/thumbnail_format/#{type}"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/thumbnail_format.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/thumbnail_format.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/thumbnail_format.rb