Class: TD::Types::PageBlock::Embedded
- Inherits:
-
TD::Types::PageBlock
- Object
- Dry::Struct
- Base
- TD::Types::PageBlock
- TD::Types::PageBlock::Embedded
- Defined in:
- lib/tdlib/types/page_block/embedded.rb
Overview
An embedded web page.
Instance Attribute Summary collapse
-
#allow_scrolling ⇒ Boolean
True, if scrolling should be allowed.
-
#caption ⇒ TD::Types::PageBlockCaption
Block caption.
-
#height ⇒ Integer
Block height; 0 if unknown.
-
#html ⇒ TD::Types::String
HTML-markup of the embedded page.
-
#is_full_width ⇒ Boolean
True, if the block should be full width.
-
#poster_photo ⇒ TD::Types::Photo?
Poster photo, if available; may be null.
-
#url ⇒ TD::Types::String?
Web page URL, if available.
-
#width ⇒ Integer
Block width; 0 if unknown.
Method Summary
Methods inherited from Base
Instance Attribute Details
#allow_scrolling ⇒ Boolean
True, if scrolling should be allowed.
12 13 14 |
# File 'lib/tdlib/types/page_block/embedded.rb', line 12 def allow_scrolling @allow_scrolling end |
#caption ⇒ TD::Types::PageBlockCaption
Block caption.
12 13 14 |
# File 'lib/tdlib/types/page_block/embedded.rb', line 12 def @caption end |
#height ⇒ Integer
Block height; 0 if unknown.
12 13 14 |
# File 'lib/tdlib/types/page_block/embedded.rb', line 12 def height @height end |
#html ⇒ TD::Types::String
HTML-markup of the embedded page.
12 13 14 |
# File 'lib/tdlib/types/page_block/embedded.rb', line 12 def html @html end |
#is_full_width ⇒ Boolean
True, if the block should be full width.
12 13 14 |
# File 'lib/tdlib/types/page_block/embedded.rb', line 12 def is_full_width @is_full_width end |
#poster_photo ⇒ TD::Types::Photo?
Poster photo, if available; may be null.
12 13 14 |
# File 'lib/tdlib/types/page_block/embedded.rb', line 12 def poster_photo @poster_photo end |
#url ⇒ TD::Types::String?
Web page URL, if available.
12 13 14 |
# File 'lib/tdlib/types/page_block/embedded.rb', line 12 def url @url end |
#width ⇒ Integer
Block width; 0 if unknown.
12 13 14 |
# File 'lib/tdlib/types/page_block/embedded.rb', line 12 def width @width end |