Sha256: 3f9e26685b1ef0cc65387e12c858167d578ca1072b13f47b429760b99ee81865

Contents?: true

Size: 667 Bytes

Versions: 3

Compression:

Stored size: 667 Bytes

Contents

module TD::Types
  # A thumbnail to be sent along with a file; must be in JPEG or WEBP format for stickers, and less than 200 KB in
  #   size.
  #
  # @attr thumbnail [TD::Types::InputFile] Thumbnail file to send.
  #   Sending thumbnails by file_id is currently not supported.
  # @attr width [Integer] Thumbnail width, usually shouldn't exceed 320.
  #   Use 0 if unknown.
  # @attr height [Integer] Thumbnail height, usually shouldn't exceed 320.
  #   Use 0 if unknown.
  class InputThumbnail < Base
    attribute :thumbnail, TD::Types::InputFile
    attribute :width, TD::Types::Coercible::Integer
    attribute :height, TD::Types::Coercible::Integer
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/input_thumbnail.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/input_thumbnail.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/input_thumbnail.rb