Class TdApi.WebPageInstantView
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.WebPageInstantView
- Enclosing class:
- TdApi
Describes an instant view page for a web page.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.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 instant view 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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
pageBlocks
Content of the instant view 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 instant view. -
feedbackLink
An internal link to be opened to leave feedback about the instant view. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- 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
- Content of the instant view page.viewCount
- Number of the instant view views; 0 if unknown.version
- Version of the instant view; currently, can be 1 or 2.isRtl
- True, if the instant view must be shown from right to left.isFull
- True, if the instant view contains the full page. A network request might be needed to get the full instant view.feedbackLink
- An internal link to be opened to leave feedback about the instant view.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-