Class: TD::Types::Minithumbnail

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/minithumbnail.rb

Overview

Thumbnail image of a very poor quality and low resolution.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#dataString

The thumbnail in JPEG format.

Returns:

  • (String)

    the current value of data



7
8
9
# File 'lib/tdlib/types/minithumbnail.rb', line 7

def data
  @data
end

#heightInteger

Thumbnail height, usually doesn’t exceed 40.

Returns:

  • (Integer)

    the current value of height



7
8
9
# File 'lib/tdlib/types/minithumbnail.rb', line 7

def height
  @height
end

#widthInteger

Thumbnail width, usually doesn’t exceed 40.

Returns:

  • (Integer)

    the current value of width



7
8
9
# File 'lib/tdlib/types/minithumbnail.rb', line 7

def width
  @width
end