public static class TdApi.WebPageInstantView extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InternalLinkType |
feedbackLink
An internal link to be opened to leave feedback about the instant view.
|
boolean |
isFull
True, if the instant view contains the full page.
|
boolean |
isRtl
True, if the instant view must be shown from right to left.
|
TdApi.PageBlock[] |
pageBlocks
Content of the instant view page.
|
int |
version
Version of the instant view; currently, can be 1 or 2.
|
int |
viewCount
Number of the instant view views; 0 if unknown.
|
| Constructor and Description |
|---|
WebPageInstantView()
Describes 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.PageBlock[] pageBlocks
public int viewCount
public int version
public boolean isRtl
public boolean isFull
public TdApi.InternalLinkType feedbackLink
public static final int CONSTRUCTOR
public WebPageInstantView()
public WebPageInstantView(TdApi.PageBlock[] pageBlocks, int viewCount, int version, boolean isRtl, boolean isFull, TdApi.InternalLinkType feedbackLink)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object