public static class TdApi.PushMessageContentVoiceNote extends TdApi.PushMessageContent
| 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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()
TdApi.ObjectgetConstructor in class TdApi.Object