public static class TdApi.PushMessageContentVoiceNote extends TdApi.PushMessageContent
TdApi.PushMessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isPinned
True, if the message is a pinned message with the specified content.
|
TdApi.VoiceNote |
voiceNote
Message content; may be null.
|
Constructor and Description |
---|
PushMessageContentVoiceNote()
A voice note message.
|
PushMessageContentVoiceNote(TdApi.VoiceNote voiceNote,
boolean isPinned)
A voice note message.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
@Nullable public TdApi.VoiceNote voiceNote
public boolean isPinned
public static final int CONSTRUCTOR
public PushMessageContentVoiceNote()
public PushMessageContentVoiceNote(TdApi.VoiceNote voiceNote, boolean isPinned)
voiceNote
- Message content; may be null.isPinned
- True, if the message is a pinned message with the specified content.public int getConstructor()
getConstructor
in class TdApi.PushMessageContent