java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessageText
- Enclosing class:
- TdApi
A text message.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Text of the message.A preview of the web page that's mentioned in the text; may be null. -
Constructor Summary
ConstructorDescriptionA text message.MessageText
(TdApi.FormattedText text, TdApi.WebPage webPage) A text message.MessageText
(DataInput input) A text message. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
text
Text of the message. -
webPage
A preview of the web page that's mentioned in the text; may be null. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
MessageText
public MessageText()A text message. -
MessageText
A text message.- Parameters:
text
- FormattedText Text of the message.webPage
- WebPage A preview of the web page that's mentioned in the text; may be null.
-
MessageText
A text message.- 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()
-