public static class TdApi.PageBlockEmbedded extends TdApi.PageBlock
TdApi.PageBlock.Constructors
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
Web page URL, 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() |
toString
public java.lang.String url
public java.lang.String html
@Nullable 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
- Web page URL, 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()
getConstructor
in class TdApi.PageBlock