Class: TD::Types::WebPageInstantView
- Defined in:
- lib/tdlib/types/web_page_instant_view.rb
Overview
Describes an instant view page for a web page.
Instance Attribute Summary collapse
-
#is_full ⇒ Boolean
True, if the instant view contains the full page.
-
#is_rtl ⇒ Boolean
True, if the instant view must be shown from right to left.
-
#page_blocks ⇒ Array<TD::Types::PageBlock>
Content of the web page.
-
#url ⇒ String
Instant view URL; may be different from WebPage.url and must be used for the correct anchors handling.
-
#version ⇒ Integer
Version of the instant view, currently can be 1 or 2.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_full ⇒ Boolean
True, if the instant view contains the full page. A network request might be needed to get the full web page instant view.
11 12 13 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 11 def is_full @is_full end |
#is_rtl ⇒ Boolean
True, if the instant view must be shown from right to left.
11 12 13 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 11 def is_rtl @is_rtl end |
#page_blocks ⇒ Array<TD::Types::PageBlock>
Content of the web page.
11 12 13 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 11 def page_blocks @page_blocks end |
#url ⇒ String
Instant view URL; may be different from WebPage.url and must be used for the correct anchors handling.
11 12 13 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 11 def url @url end |
#version ⇒ Integer
Version of the instant view, currently can be 1 or 2.
11 12 13 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 11 def version @version end |