public class DocumentMessage extends Message
| Constructor and Description |
|---|
DocumentMessage(long id,
User sender,
long date,
Chat chat,
Message replyToMessage,
java.lang.Long editDate,
java.lang.String authorSignature,
Document document,
Text caption) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<Text> |
getCaption()
Returns the text of the caption.
|
Document |
getDocument()
Getter for property
document. |
equals, getAuthorSignature, getChat, getDate, getEditDate, getId, getReplyToMessage, getSender, hashCode