Package it.tdlight.jni
Class TdApi.MessageAudio
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessageAudio
- Enclosing class:
- TdApi
public static class TdApi.MessageAudio extends TdApi.MessageContent
An audio message.
-
Field Summary
Fields Modifier and Type Field Description TdApi.Audio
audio
The audio description.TdApi.FormattedText
caption
Audio caption.static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description MessageAudio()
An audio message.MessageAudio(TdApi.Audio audio, TdApi.FormattedText caption)
An audio message.MessageAudio(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
audio
The audio description. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
MessageAudio
public MessageAudio()An audio message. -
MessageAudio
An audio message.- Parameters:
audio
- Audio The audio description.caption
- FormattedText Audio caption.
-
MessageAudio
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-