Package org.drinkless.tdlib
Class TdApi.MessageVoiceNote
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.MessageContent
-
- org.drinkless.tdlib.TdApi.MessageVoiceNote
-
- Enclosing class:
- TdApi
public static class TdApi.MessageVoiceNote extends TdApi.MessageContent
A voice note message.
-
-
Field Summary
Fields Modifier and Type Field Description TdApi.FormattedTextcaptionVoice note caption.static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanisListenedTrue, if at least one of the recipients has listened to the voice note.TdApi.VoiceNotevoiceNoteThe voice note description.
-
Constructor Summary
Constructors Constructor Description MessageVoiceNote()A voice note message.MessageVoiceNote(TdApi.VoiceNote voiceNote, TdApi.FormattedText caption, boolean isListened)A voice note 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
-
voiceNote
public TdApi.VoiceNote voiceNote
The voice note description.
-
caption
public TdApi.FormattedText caption
Voice note caption.
-
isListened
public boolean isListened
True, if at least one of the recipients has listened to the voice note.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MessageVoiceNote
public MessageVoiceNote()
A voice note message.
-
MessageVoiceNote
public MessageVoiceNote(TdApi.VoiceNote voiceNote, TdApi.FormattedText caption, boolean isListened)
A voice note message.- Parameters:
voiceNote- The voice note description.caption- Voice note caption.isListened- True, if at least one of the recipients has listened to the voice note.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-