Class: TD::Types::ChatPhoto
- Defined in:
- lib/tdlib/types/chat_photo.rb
Overview
Describes a chat or user profile photo.
Instance Attribute Summary collapse
-
#added_date ⇒ Integer
Point in time (Unix timestamp) when the photo has been added.
-
#animation ⇒ TD::Types::AnimatedChatPhoto?
Animated variant of the photo in MPEG4 format; may be null.
-
#id ⇒ Integer
Unique photo identifier.
-
#minithumbnail ⇒ TD::Types::Minithumbnail?
Photo minithumbnail; may be null.
-
#sizes ⇒ Array<TD::Types::PhotoSize>
Available variants of the photo in JPEG format, in different size.
Method Summary
Methods inherited from Base
Instance Attribute Details
#added_date ⇒ Integer
Point in time (Unix timestamp) when the photo has been added.
9 10 11 |
# File 'lib/tdlib/types/chat_photo.rb', line 9 def added_date @added_date end |
#animation ⇒ TD::Types::AnimatedChatPhoto?
Animated variant of the photo in MPEG4 format; may be null.
9 10 11 |
# File 'lib/tdlib/types/chat_photo.rb', line 9 def animation @animation end |
#id ⇒ Integer
Unique photo identifier.
9 10 11 |
# File 'lib/tdlib/types/chat_photo.rb', line 9 def id @id end |
#minithumbnail ⇒ TD::Types::Minithumbnail?
Photo minithumbnail; may be null.
9 10 11 |
# File 'lib/tdlib/types/chat_photo.rb', line 9 def minithumbnail @minithumbnail end |
#sizes ⇒ Array<TD::Types::PhotoSize>
Available variants of the photo in JPEG format, in different size.
9 10 11 |
# File 'lib/tdlib/types/chat_photo.rb', line 9 def sizes @sizes end |