Package it.tdlight.jni
Class TdApi.MessageText
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessageText
- Enclosing class:
- TdApi
public static class TdApi.MessageText extends TdApi.MessageContent
A text message.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.FormattedText
text
Text of the message.TdApi.WebPage
webPage
A preview of the web page that's mentioned in the text; may be null. -
Constructor Summary
Constructors Constructor Description MessageText()
A text message.MessageText(TdApi.FormattedText text, TdApi.WebPage webPage)
A text message.MessageText(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
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:
- Constant Field Values
-
-
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
- 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()
-