public static class TdApi.PageBlockPreformatted extends TdApi.PageBlock
TdApi.PageBlock.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
language
Programming language for which the text needs to be formatted.
|
TdApi.RichText |
text
Paragraph text.
|
Constructor and Description |
---|
PageBlockPreformatted()
A preformatted text paragraph.
|
PageBlockPreformatted(TdApi.RichText text,
java.lang.String language)
A preformatted text paragraph.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.RichText text
public java.lang.String language
public static final int CONSTRUCTOR
public PageBlockPreformatted()
public PageBlockPreformatted(TdApi.RichText text, java.lang.String language)
text
- Paragraph text.language
- Programming language for which the text needs to be formatted.public int getConstructor()
getConstructor
in class TdApi.PageBlock