Package it.tdlight.jni
Class TdApi.PushMessageContentVoiceNote
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.TdApi.PushMessageContentVoiceNote
- Enclosing class:
- TdApi
public static class TdApi.PushMessageContentVoiceNote extends TdApi.PushMessageContent
A voice note message.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
isPinned
True, if the message is a pinned message with the specified content.TdApi.VoiceNote
voiceNote
Message content; may be null. -
Constructor Summary
Constructors Constructor Description PushMessageContentVoiceNote()
A voice note message.PushMessageContentVoiceNote(TdApi.VoiceNote voiceNote, boolean isPinned)
A voice note message.PushMessageContentVoiceNote(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
-
voiceNote
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
-
PushMessageContentVoiceNote
public PushMessageContentVoiceNote()A voice note message. -
PushMessageContentVoiceNote
A voice note message.- Parameters:
voiceNote
- VoiceNote Message content; may be null.isPinned
- boolean True, if the message is a pinned message with the specified content.
-
PushMessageContentVoiceNote
- 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()
-