public static class TdApi.LinkPreviewTypeVoiceNote extends TdApi.LinkPreviewType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.VoiceNote |
voiceNote
The voice note.
|
| Constructor and Description |
|---|
LinkPreviewTypeVoiceNote()
The link is a link to a voice note message.
|
LinkPreviewTypeVoiceNote(TdApi.VoiceNote voiceNote)
The link is a link to 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 static final int CONSTRUCTOR
public LinkPreviewTypeVoiceNote()
public LinkPreviewTypeVoiceNote(TdApi.VoiceNote voiceNote)
voiceNote - The voice note.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object