Class: TD::Types::ChatPhotoInfo
- Defined in:
- lib/tdlib/types/chat_photo_info.rb
Overview
Contains basic information about the photo of a chat.
Instance Attribute Summary collapse
-
#big ⇒ TD::Types::File
A big (640x640) chat photo variant in JPEG format.
-
#has_animation ⇒ Boolean
True, if the photo has animated variant.
-
#minithumbnail ⇒ TD::Types::Minithumbnail?
Chat photo minithumbnail; may be null.
-
#small ⇒ TD::Types::File
A small (160x160) chat photo variant in JPEG format.
Method Summary
Methods inherited from Base
Instance Attribute Details
#big ⇒ TD::Types::File
A big (640x640) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
10 11 12 |
# File 'lib/tdlib/types/chat_photo_info.rb', line 10 def big @big end |
#has_animation ⇒ Boolean
True, if the photo has animated variant.
10 11 12 |
# File 'lib/tdlib/types/chat_photo_info.rb', line 10 def has_animation @has_animation end |
#minithumbnail ⇒ TD::Types::Minithumbnail?
Chat photo minithumbnail; may be null.
10 11 12 |
# File 'lib/tdlib/types/chat_photo_info.rb', line 10 def minithumbnail @minithumbnail end |
#small ⇒ TD::Types::File
A small (160x160) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
10 11 12 |
# File 'lib/tdlib/types/chat_photo_info.rb', line 10 def small @small end |