Class: TD::Types::PhotoSize

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

Overview

Photo description.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#heightInteger

Photo height.

Returns:

  • (Integer)

    the current value of height



8
9
10
# File 'lib/tdlib/types/photo_size.rb', line 8

def height
  @height
end

#photoTD::Types::File

Information about the photo file.

Returns:



8
9
10
# File 'lib/tdlib/types/photo_size.rb', line 8

def photo
  @photo
end

#typeString

Returns:

  • (String)

    the current value of type



8
9
10
# File 'lib/tdlib/types/photo_size.rb', line 8

def type
  @type
end

#widthInteger

Photo width.

Returns:

  • (Integer)

    the current value of width



8
9
10
# File 'lib/tdlib/types/photo_size.rb', line 8

def width
  @width
end