Package org.drinkless.tdlib
Class TdApi.RichMessage
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.RichMessage
- Enclosing class:
- TdApi
Describes a message with rich formatting.
-
Field Summary
FieldsModifier and TypeFieldDescriptionContent of the message.static final intIdentifier uniquely determining type of the object.booleanTrue, if the object contains the full message.booleanTrue, if the message must be shown from right to left. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a message with rich formatting.RichMessage(TdApi.PageBlock[] blocks, boolean isRtl, boolean isFull) Describes a message with rich formatting. -
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
-
blocks
Content of the message. -
isRtl
public boolean isRtlTrue, if the message must be shown from right to left. -
isFull
public boolean isFullTrue, if the object contains the full message. Otherwise, getFullRichMessage must be used to get the full message. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
RichMessage
public RichMessage()Describes a message with rich formatting. -
RichMessage
Describes a message with rich formatting.- Parameters:
blocks- Content of the message.isRtl- True, if the message must be shown from right to left.isFull- True, if the object contains the full message. Otherwise, getFullRichMessage must be used to get the full message.
-
-
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
-