Class: TD::Types::InternalLinkType::InstantView
- Inherits:
-
TD::Types::InternalLinkType
- Object
- Dry::Struct
- Base
- TD::Types::InternalLinkType
- TD::Types::InternalLinkType::InstantView
- Defined in:
- lib/tdlib/types/internal_link_type/instant_view.rb
Overview
The link must be opened in an Instant View. Call getWebPageInstantView with the given URL to process the link. If Instant View is found, then show it, otherwise, open the fallback URL in an external browser.
Instance Attribute Summary collapse
-
#fallback_url ⇒ TD::Types::String
An URL to open if getWebPageInstantView fails.
-
#url ⇒ TD::Types::String
URL to be passed to getWebPageInstantView.
Method Summary
Methods inherited from Base
Instance Attribute Details
#fallback_url ⇒ TD::Types::String
An URL to open if getWebPageInstantView fails.
8 9 10 |
# File 'lib/tdlib/types/internal_link_type/instant_view.rb', line 8 def fallback_url @fallback_url end |
#url ⇒ TD::Types::String
URL to be passed to getWebPageInstantView.
8 9 10 |
# File 'lib/tdlib/types/internal_link_type/instant_view.rb', line 8 def url @url end |