java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.TdApi.PushMessageContentVoiceNote
- Enclosing class:
- TdApi
A voice note message.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
True, if the message is a pinned message with the specified content.Message content; may be null. -
Constructor Summary
ConstructorDescriptionA voice note message.PushMessageContentVoiceNote
(TdApi.VoiceNote voiceNote, boolean isPinned) A voice note message.A voice note message. -
Method Summary
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:
-
-
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
A voice note message.- 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()
-