Sha256: 3830f64b28480515472d470d7f226a277811fba04bd1ce6f1c77513857316577

Contents?: true

Size: 858 Bytes

Versions: 2

Compression:

Stored size: 858 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 view_count [Integer] Number of the instant view views; 0 if unknown.
  # @attr version [Integer] Version of the instant view, currently can be 1 or 2.
  # @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 :view_count, TD::Types::Coercible::Integer
    attribute :version, TD::Types::Coercible::Integer
    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-schema-1.7.0.3 lib/tdlib/types/web_page_instant_view.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/web_page_instant_view.rb