Sha256: f5478c3f85aea61063cb434cf04d96be7dd878abd906942f1d3dc5edfbbcda13

Contents?: true

Size: 645 Bytes

Versions: 1

Compression:

Stored size: 645 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::Integer
    attribute :height, TD::Types::Integer
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/input_thumbnail.rb