public class TextMessage extends Message
| Constructor and Description |
|---|
TextMessage(long id,
User sender,
long date,
Chat chat,
Message replyToMessage,
java.lang.Long editDate,
java.lang.String authorSignature,
Text text) |
| Modifier and Type | Method and Description |
|---|---|
Text |
getText()
Returns the text of the message.
|
boolean |
isCommand()
Returns whether or not this message is a command.
|
equals, getAuthorSignature, getChat, getDate, getEditDate, getId, getReplyToMessage, getSender, hashCodepublic boolean isCommand()
public Text getText()