Package org.drinkless.tdlib
Class TdApi.PageBlockEmbedded
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PageBlock
org.drinkless.tdlib.TdApi.PageBlockEmbedded
- Enclosing class:
- TdApi
An embedded web page.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue, if scrolling needs to be allowed.Block caption.static final intIdentifier uniquely determining type of the object.intBlock height; 0 if unknown.HTML-markup of the embedded page.booleanTrue, if the block must be full width.Poster photo, if available; may be null.URL of the embedded page, if available.intBlock width; 0 if unknown. -
Constructor Summary
ConstructorsConstructorDescriptionAn embedded web page.PageBlockEmbedded(String url, String html, TdApi.Photo posterPhoto, int width, int height, TdApi.PageBlockCaption caption, boolean isFullWidth, boolean allowScrolling) An embedded web page. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
url
URL of the embedded page, if available. -
html
HTML-markup of the embedded page. -
posterPhoto
Poster photo, if available; may be null. -
width
public int widthBlock width; 0 if unknown. -
height
public int heightBlock height; 0 if unknown. -
caption
Block caption. -
isFullWidth
public boolean isFullWidthTrue, if the block must be full width. -
allowScrolling
public boolean allowScrollingTrue, if scrolling needs to be allowed. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PageBlockEmbedded
public PageBlockEmbedded()An embedded web page. -
PageBlockEmbedded
public PageBlockEmbedded(String url, String html, TdApi.Photo posterPhoto, int width, int height, TdApi.PageBlockCaption caption, boolean isFullWidth, boolean allowScrolling) An embedded web page.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-