- Enclosing class:
- TdApi
public static final class TdApi.GetWebPageInstantView
extends TdApi.Function<TdApi.WebPageInstantView>
Returns an instant view version of a
web page if available. Returns a 404
error if the web page has no instant view page.
Returns
WebPageInstantView
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
Pass true to get full instant view for the web page.The web page URL. -
Constructor Summary
ConstructorDescriptionReturns an instant view version of a web page if available.GetWebPageInstantView
(DataInput input) Returns an instant view version of a web page if available.GetWebPageInstantView
(String url, boolean forceFull) Returns an instant view version of a web page if available. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
url
The web page URL. -
forceFull
public boolean forceFullPass true to get full instant view for the web page. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetWebPageInstantView
public GetWebPageInstantView()Returns an instant view version of a web page if available. Returns a 404 error if the web page has no instant view page. ReturnsWebPageInstantView
-
GetWebPageInstantView
Returns an instant view version of a web page if available. Returns a 404 error if the web page has no instant view page. ReturnsWebPageInstantView
- Parameters:
url
- String The web page URL.forceFull
- boolean Pass true to get full instant view for the web page.
-
GetWebPageInstantView
Returns an instant view version of a web page if available. Returns a 404 error if the web page has no instant view page. ReturnsWebPageInstantView
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-