Package org.drinkless.tdlib
Class TdApi.PageBlockPreformatted
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.PageBlock
-
- org.drinkless.tdlib.TdApi.PageBlockPreformatted
-
- Enclosing class:
- TdApi
public static class TdApi.PageBlockPreformatted extends TdApi.PageBlock
A preformatted text paragraph.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringlanguageProgramming language for which the text needs to be formatted.TdApi.RichTexttextParagraph text.
-
Constructor Summary
Constructors Constructor Description PageBlockPreformatted()A preformatted text paragraph.PageBlockPreformatted(TdApi.RichText text, String language)A preformatted text paragraph.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
text
public TdApi.RichText text
Paragraph text.
-
language
public String language
Programming language for which the text needs to be formatted.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PageBlockPreformatted
public PageBlockPreformatted()
A preformatted text paragraph.
-
PageBlockPreformatted
public PageBlockPreformatted(TdApi.RichText text, String language)
A preformatted text paragraph.- Parameters:
text- Paragraph text.language- Programming language for which the text needs to be formatted.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-