public static class TdApi.PageBlockEmbedded extends TdApi.PageBlock
| Modifier and Type | Field and Description |
|---|---|
boolean |
allowScrolling
True, if scrolling needs to be allowed.
|
TdApi.PageBlockCaption |
caption
Block caption.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
height
Block height; 0 if unknown.
|
java.lang.String |
html
HTML-markup of the embedded page.
|
boolean |
isFullWidth
True, if the block must be full width.
|
TdApi.Photo |
posterPhoto
Poster photo, if available; may be null.
|
java.lang.String |
url
URL of the embedded page, if available.
|
int |
width
Block width; 0 if unknown.
|
| Constructor and Description |
|---|
PageBlockEmbedded()
An embedded web page.
|
PageBlockEmbedded(java.lang.String url,
java.lang.String html,
TdApi.Photo posterPhoto,
int width,
int height,
TdApi.PageBlockCaption caption,
boolean isFullWidth,
boolean allowScrolling)
An embedded web page.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String url
public java.lang.String html
public TdApi.Photo posterPhoto
public int width
public int height
public TdApi.PageBlockCaption caption
public boolean isFullWidth
public boolean allowScrolling
public static final int CONSTRUCTOR
public PageBlockEmbedded()
public PageBlockEmbedded(java.lang.String url,
java.lang.String html,
TdApi.Photo posterPhoto,
int width,
int height,
TdApi.PageBlockCaption caption,
boolean isFullWidth,
boolean allowScrolling)
url - URL of the embedded page, if available.html - HTML-markup of the embedded page.posterPhoto - Poster photo, if available; may be null.width - Block width; 0 if unknown.height - Block height; 0 if unknown.caption - Block caption.isFullWidth - True, if the block must be full width.allowScrolling - True, if scrolling needs to be allowed.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object