Class: TD::Types::Photo
- Defined in:
- lib/tdlib/types/photo.rb
Overview
Describes a photo.
Instance Attribute Summary collapse
-
#has_stickers ⇒ Boolean
True, if stickers were added to the photo.
-
#minithumbnail ⇒ TD::Types::Minithumbnail?
Photo minithumbnail; may be null.
-
#sizes ⇒ Array<TD::Types::PhotoSize>
Available variants of the photo, in different sizes.
Method Summary
Methods inherited from Base
Instance Attribute Details
#has_stickers ⇒ Boolean
True, if stickers were added to the photo.
7 8 9 |
# File 'lib/tdlib/types/photo.rb', line 7 def has_stickers @has_stickers end |
#minithumbnail ⇒ TD::Types::Minithumbnail?
Photo minithumbnail; may be null.
7 8 9 |
# File 'lib/tdlib/types/photo.rb', line 7 def minithumbnail @minithumbnail end |
#sizes ⇒ Array<TD::Types::PhotoSize>
Available variants of the photo, in different sizes.
7 8 9 |
# File 'lib/tdlib/types/photo.rb', line 7 def sizes @sizes end |