Package it.tdlight.jni
Class TdApi.GetWebPageInstantView
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetWebPageInstantView
- Enclosing class:
- TdApi
public static class TdApi.GetWebPageInstantView extends TdApi.Function
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
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
forceFull
If true, the full instant view for the web page will be returned.String
url
The web page URL. -
Constructor Summary
Constructors Constructor Description GetWebPageInstantView()
Returns an instant view version of a web page if available.GetWebPageInstantView(DataInput input)
GetWebPageInstantView(String url, boolean forceFull)
Returns an instant view version of a web page if available. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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 forceFullIf true, the full instant view for the web page will be returned. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
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.Returns
WebPageInstantView
-
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.Returns
WebPageInstantView
- Parameters:
url
- String The web page URL.forceFull
- boolean If true, the full instant view for the web page will be returned.
-
GetWebPageInstantView
- 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()
-