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
-
#feedback_link ⇒ TD::Types::InternalLinkType
An internal link to be opened to leave feedback about the instant view.
-
#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 instant view 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
#feedback_link ⇒ TD::Types::InternalLinkType
An internal link to be opened to leave feedback about the instant view.
12 13 14 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 12 def feedback_link @feedback_link end |
#is_full ⇒ Boolean
True, if the instant view contains the full page. A network request might be needed to get the full instant view.
12 13 14 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 12 def is_full @is_full end |
#is_rtl ⇒ Boolean
True, if the instant view must be shown from right to left.
12 13 14 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 12 def is_rtl @is_rtl end |
#page_blocks ⇒ Array<TD::Types::PageBlock>
Content of the instant view page.
12 13 14 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 12 def page_blocks @page_blocks end |
#version ⇒ Integer
Version of the instant view; currently, can be 1 or 2.
12 13 14 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 12 def version @version end |
#view_count ⇒ Integer
Number of the instant view views; 0 if unknown.
12 13 14 |
# File 'lib/tdlib/types/web_page_instant_view.rb', line 12 def view_count @view_count end |