GetWebPageInstantView

public struct GetWebPageInstantView : Codable, Equatable, TDFunction

Returns an instant view version of a web page if available. Returns a 404 error if the web page has no instant view page

  • Undocumented

    Declaration

    Swift

    public typealias Result = WebPageInstantView
  • url

    The web page URL

    Declaration

    Swift

    public let url: String
  • If true, the full instant view for the web page will be returned

    Declaration

    Swift

    public let forceFull: Bool
  • Returns an instant view version of a web page if available. Returns a 404 error if the web page has no instant view page

    Declaration

    Swift

    public init(url: String, forceFull: Bool)

    Parameters

    url

    The web page URL

    forceFull

    If true, the full instant view for the web page will be returned