Package org.drinkless.tdlib
Class TdApi.PushMessageContentVoiceNote
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PushMessageContent
org.drinkless.tdlib.TdApi.PushMessageContentVoiceNote
- Enclosing class:
- TdApi
A voice note message.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanTrue, if the message is a pinned message with the specified content.Message content; may be null. -
Constructor Summary
ConstructorsConstructorDescriptionA voice note message.PushMessageContentVoiceNote(TdApi.VoiceNote voiceNote, boolean isPinned) A voice note message. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PushMessageContentVoiceNote
public PushMessageContentVoiceNote()A voice note message. -
PushMessageContentVoiceNote
A voice note message.- Parameters:
voiceNote- Message content; may be null.isPinned- True, if the message is a pinned message with the specified content.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-