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.
-
#version ⇒ Integer
Version of the instant view, currently can be 1 or 2.
-
#view_count ⇒ Integer
Number of the instant view views; 0 if unknown.
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.
10 11 12 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 10 def is_full @is_full end |
#is_rtl ⇒ Boolean
True, if the instant view must be shown from right to left.
10 11 12 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 10 def is_rtl @is_rtl end |
#page_blocks ⇒ Array<TD::Types::PageBlock>
Content of the web page.
10 11 12 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 10 def page_blocks @page_blocks end |
#version ⇒ Integer
Version of the instant view, currently can be 1 or 2.
10 11 12 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 10 def version @version end |
#view_count ⇒ Integer
Number of the instant view views; 0 if unknown.
10 11 12 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 10 def view_count @view_count end |