Package it.tdlight.jni
Class TdApi.PushMessageContentAudio
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.TdApi.PushMessageContentAudio
- Enclosing class:
- TdApi
public static class TdApi.PushMessageContentAudio extends TdApi.PushMessageContent
An audio message.
-
Field Summary
Fields Modifier and Type Field Description TdApi.Audio
audio
Message content; may be null.static int
CONSTRUCTOR
boolean
isPinned
True, if the message is a pinned message with the specified content. -
Constructor Summary
Constructors Constructor Description PushMessageContentAudio()
An audio message.PushMessageContentAudio(TdApi.Audio audio, boolean isPinned)
An audio message.PushMessageContentAudio(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
audio
Message content; may be null. -
isPinned
public boolean isPinnedTrue, if the message is a pinned message with the specified content. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
PushMessageContentAudio
public PushMessageContentAudio()An audio message. -
PushMessageContentAudio
An audio message.- Parameters:
audio
- Audio Message content; may be null.isPinned
- boolean True, if the message is a pinned message with the specified content.
-
PushMessageContentAudio
- 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()
-