Class: TD::Types::Photo

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

Overview

Describes a photo.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#has_stickersBoolean

True, if stickers were added to the photo.

Returns:

  • (Boolean)

    the current value of has_stickers



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

def has_stickers
  @has_stickers
end

#minithumbnailTD::Types::Minithumbnail?

Photo minithumbnail; may be null.

Returns:



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

def minithumbnail
  @minithumbnail
end

#sizesArray<TD::Types::PhotoSize>

Available variants of the photo, in different sizes.

Returns:



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

def sizes
  @sizes
end