Class: TD::Types::PushMessageContent::Photo
- Inherits:
-
TD::Types::PushMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::PushMessageContent
- TD::Types::PushMessageContent::Photo
- Defined in:
- lib/tdlib/types/push_message_content/photo.rb
Overview
A photo message.
Instance Attribute Summary collapse
-
#caption ⇒ TD::Types::String
Photo caption.
-
#is_pinned ⇒ Boolean
True, if the message is a pinned message with the specified content.
-
#is_secret ⇒ Boolean
True, if the photo is secret.
-
#photo ⇒ TD::Types::Photo?
Message content; may be null.
Method Summary
Methods inherited from Base
Instance Attribute Details
#caption ⇒ TD::Types::String
Photo caption.
8 9 10 |
# File 'lib/tdlib/types/push_message_content/photo.rb', line 8 def @caption end |
#is_pinned ⇒ Boolean
True, if the message is a pinned message with the specified content.
8 9 10 |
# File 'lib/tdlib/types/push_message_content/photo.rb', line 8 def is_pinned @is_pinned end |
#is_secret ⇒ Boolean
True, if the photo is secret.
8 9 10 |
# File 'lib/tdlib/types/push_message_content/photo.rb', line 8 def is_secret @is_secret end |
#photo ⇒ TD::Types::Photo?
Message content; may be null.
8 9 10 |
# File 'lib/tdlib/types/push_message_content/photo.rb', line 8 def photo @photo end |