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. The list of corresponding sticker sets can be received using getAttachedStickerSets.
8 9 10 |
# File 'lib/tdlib/types/photo.rb', line 8 def has_stickers @has_stickers end |
#minithumbnail ⇒ TD::Types::Minithumbnail?
Photo minithumbnail; may be null.
8 9 10 |
# File 'lib/tdlib/types/photo.rb', line 8 def minithumbnail @minithumbnail end |
#sizes ⇒ Array<TD::Types::PhotoSize>
Available variants of the photo, in different sizes.
8 9 10 |
# File 'lib/tdlib/types/photo.rb', line 8 def sizes @sizes end |