Class: TD::Types::ProfilePhoto
- Defined in:
- lib/tdlib/types/profile_photo.rb
Overview
Describes a user profile photo.
Instance Attribute Summary collapse
-
#big ⇒ TD::Types::File
A big (640x640) user profile photo.
-
#has_animation ⇒ Boolean
True, if the photo has animated variant.
-
#id ⇒ Integer
Photo identifier; 0 for an empty photo.
-
#minithumbnail ⇒ TD::Types::Minithumbnail?
User profile photo minithumbnail; may be null.
-
#small ⇒ TD::Types::File
A small (160x160) user profile photo.
Method Summary
Methods inherited from Base
Instance Attribute Details
#big ⇒ TD::Types::File
A big (640x640) user profile photo. The file can be downloaded only before the photo is changed.
12 13 14 |
# File 'lib/tdlib/types/profile_photo.rb', line 12 def big @big end |
#has_animation ⇒ Boolean
True, if the photo has animated variant.
12 13 14 |
# File 'lib/tdlib/types/profile_photo.rb', line 12 def has_animation @has_animation end |
#id ⇒ Integer
Photo identifier; 0 for an empty photo. Can be used to find a photo in a list of user profile photos.
12 13 14 |
# File 'lib/tdlib/types/profile_photo.rb', line 12 def id @id end |
#minithumbnail ⇒ TD::Types::Minithumbnail?
User profile photo minithumbnail; may be null.
12 13 14 |
# File 'lib/tdlib/types/profile_photo.rb', line 12 def minithumbnail @minithumbnail end |
#small ⇒ TD::Types::File
A small (160x160) user profile photo. The file can be downloaded only before the photo is changed.
12 13 14 |
# File 'lib/tdlib/types/profile_photo.rb', line 12 def small @small end |