Package org.drinkless.tdlib
Class TdApi.MessageText
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.MessageContent
-
- org.drinkless.tdlib.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 intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.FormattedTexttextText of the message.TdApi.WebPagewebPageA 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
text
public TdApi.FormattedText text
Text of the message.
-
webPage
public TdApi.WebPage webPage
A preview of the web page that's mentioned in the text; may be null.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MessageText
public MessageText()
A text message.
-
MessageText
public MessageText(TdApi.FormattedText text, TdApi.WebPage webPage)
A text message.- Parameters:
text- Text of the message.webPage- A preview of the web page that's mentioned in the text; may be null.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-