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
A preformatted text paragraph.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Programming language for which the text needs to be formatted.Paragraph text. -
Constructor Summary
ConstructorsConstructorDescriptionA preformatted text paragraph.PageBlockPreformatted(TdApi.RichText text, String language) A preformatted text paragraph. -
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
-
text
Paragraph text. -
language
Programming language for which the text needs to be formatted. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PageBlockPreformatted
public PageBlockPreformatted()A preformatted text paragraph. -
PageBlockPreformatted
A preformatted text paragraph.- Parameters:
text- Paragraph text.language- Programming language for which the text needs to be formatted.
-
-
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
-