Sha256: 1fdf2551e9a251d931d9939641ffce80ae2a2d2e7d2aa9629572e8f73aee4826

Contents?: true

Size: 881 Bytes

Versions: 2

Compression:

Stored size: 881 Bytes

Contents

module TD::Types
  # Describes an instant view page for a web page.
  #
  # @attr page_blocks [Array<TD::Types::PageBlock>] Content of the web page.
  # @attr version [Integer] Version of the instant view, currently can be 1 or 2.
  # @attr url [String] Instant view URL; may be different from WebPage.url and must be used for the correct anchors
  #   handling.
  # @attr is_rtl [Boolean] True, if the instant view must be shown from right to left.
  # @attr 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.
  class WebPageInstantView < Base
    attribute :page_blocks, TD::Types::Array.of(TD::Types::PageBlock)
    attribute :version, TD::Types::Integer
    attribute :url, TD::Types::String
    attribute :is_rtl, TD::Types::Bool
    attribute :is_full, TD::Types::Bool
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/web_page_instant_view.rb
tdlib-ruby-2.1.0 lib/tdlib/types/web_page_instant_view.rb