public static class TdApi.MessageVoiceNote extends TdApi.MessageContent
| Modifier and Type | Field and Description |
|---|---|
TdApi.FormattedText |
caption
Voice note caption.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isListened
True, if at least one of the recipients has listened to the voice note.
|
TdApi.VoiceNote |
voiceNote
The voice note description.
|
| Constructor and Description |
|---|
MessageVoiceNote()
A voice note message.
|
MessageVoiceNote(TdApi.VoiceNote voiceNote,
TdApi.FormattedText caption,
boolean isListened)
A voice note message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.VoiceNote voiceNote
public TdApi.FormattedText caption
public boolean isListened
public static final int CONSTRUCTOR
public MessageVoiceNote()
public MessageVoiceNote(TdApi.VoiceNote voiceNote, TdApi.FormattedText caption, boolean isListened)
voiceNote - The voice note description.caption - Voice note caption.isListened - True, if at least one of the recipients has listened to the voice note.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object