java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.WebPageInstantView
- Enclosing class:
- TdApi
Describes an instant view page for a web page.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
An internal link to be opened to leave feedback about the instant view.boolean
True, if the instant view contains the full page.boolean
True, if the instant view must be shown from right to left.Content of the web page.int
Version of the instant view, currently can be 1 or 2.int
Number of the instant view views; 0 if unknown. -
Constructor Summary
ConstructorDescriptionDescribes an instant view page for a web page.WebPageInstantView
(TdApi.PageBlock[] pageBlocks, int viewCount, int version, boolean isRtl, boolean isFull, TdApi.InternalLinkType feedbackLink) Describes an instant view page for a web page.WebPageInstantView
(DataInput input) Describes an instant view page for a web page. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
pageBlocks
Content of the web page. -
viewCount
public int viewCountNumber of the instant view views; 0 if unknown. -
version
public int versionVersion of the instant view, currently can be 1 or 2. -
isRtl
public boolean isRtlTrue, if the instant view must be shown from right to left. -
isFull
public boolean isFullTrue, if the instant view contains the full page. A network request might be needed to get the full web page instant view. -
feedbackLink
An internal link to be opened to leave feedback about the instant view. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
WebPageInstantView
public WebPageInstantView()Describes an instant view page for a web page. -
WebPageInstantView
public WebPageInstantView(TdApi.PageBlock[] pageBlocks, int viewCount, int version, boolean isRtl, boolean isFull, TdApi.InternalLinkType feedbackLink) Describes an instant view page for a web page.- Parameters:
pageBlocks
- PageBlock[] Content of the web page.viewCount
- int Number of the instant view views; 0 if unknown.version
- int Version of the instant view, currently can be 1 or 2.isRtl
- boolean True, if the instant view must be shown from right to left.isFull
- boolean True, if the instant view contains the full page. A network request might be needed to get the full web page instant view.feedbackLink
- InternalLinkType An internal link to be opened to leave feedback about the instant view.
-
WebPageInstantView
Describes an instant view page for a web page.- 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()
-