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