Class: TD::Types::PageBlock::Photo
- Inherits:
-
TD::Types::PageBlock
- Object
- Dry::Struct
- Base
- TD::Types::PageBlock
- TD::Types::PageBlock::Photo
- Defined in:
- lib/tdlib/types/page_block/photo.rb
Overview
A photo.
Instance Attribute Summary collapse
-
#caption ⇒ TD::Types::PageBlockCaption
Photo caption.
-
#photo ⇒ TD::Types::Photo?
Photo file; may be null.
-
#url ⇒ String
URL that needs to be opened when the photo is clicked.
Method Summary
Methods inherited from Base
Instance Attribute Details
#caption ⇒ TD::Types::PageBlockCaption
Photo caption.
7 8 9 |
# File 'lib/tdlib/types/page_block/photo.rb', line 7 def @caption end |
#photo ⇒ TD::Types::Photo?
Photo file; may be null.
7 8 9 |
# File 'lib/tdlib/types/page_block/photo.rb', line 7 def photo @photo end |
#url ⇒ String
URL that needs to be opened when the photo is clicked.
7 8 9 |
# File 'lib/tdlib/types/page_block/photo.rb', line 7 def url @url end |