Package it.tdlight.jni
Class TdApi.PageBlockPreformatted
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PageBlock
it.tdlight.jni.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 int
CONSTRUCTOR
String
language
Programming language for which the text should be formatted.TdApi.RichText
text
Paragraph text. -
Constructor Summary
Constructors Constructor Description PageBlockPreformatted()
A preformatted text paragraph.PageBlockPreformatted(TdApi.RichText text, String language)
A preformatted text paragraph.PageBlockPreformatted(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
text
Paragraph text. -
language
Programming language for which the text should be formatted. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
PageBlockPreformatted
public PageBlockPreformatted()A preformatted text paragraph. -
PageBlockPreformatted
A preformatted text paragraph.- Parameters:
text
- RichText Paragraph text.language
- String Programming language for which the text should be formatted.
-
PageBlockPreformatted
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-