Class: TD::Types::MessageContent::Photo
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::Photo
- Defined in:
- lib/tdlib/types/message_content/photo.rb
Overview
A photo message.
Instance Attribute Summary collapse
-
#caption ⇒ TD::Types::FormattedText
Photo caption.
-
#is_secret ⇒ Boolean
True, if the photo must be blurred and must be shown only while tapped.
-
#photo ⇒ TD::Types::Photo
The photo description.
Method Summary
Methods inherited from Base
Instance Attribute Details
#caption ⇒ TD::Types::FormattedText
Photo caption.
7 8 9 |
# File 'lib/tdlib/types/message_content/photo.rb', line 7 def @caption end |
#is_secret ⇒ Boolean
True, if the photo must be blurred and must be shown only while tapped.
7 8 9 |
# File 'lib/tdlib/types/message_content/photo.rb', line 7 def is_secret @is_secret end |
#photo ⇒ TD::Types::Photo
The photo description.
7 8 9 |
# File 'lib/tdlib/types/message_content/photo.rb', line 7 def photo @photo end |