public static class TdApi.InlineQueryResultVoiceNote extends TdApi.InlineQueryResult
TdApi.InlineQueryResult.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
id
Unique identifier of the query result.
|
java.lang.String |
title
Title of the voice note.
|
TdApi.VoiceNote |
voiceNote
Voice note.
|
Constructor and Description |
---|
InlineQueryResultVoiceNote()
Represents a voice note.
|
InlineQueryResultVoiceNote(java.lang.String id,
TdApi.VoiceNote voiceNote,
java.lang.String title)
Represents a voice note.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String id
public TdApi.VoiceNote voiceNote
public java.lang.String title
public static final int CONSTRUCTOR
public InlineQueryResultVoiceNote()
public InlineQueryResultVoiceNote(java.lang.String id, TdApi.VoiceNote voiceNote, java.lang.String title)
id
- Unique identifier of the query result.voiceNote
- Voice note.title
- Title of the voice note.public int getConstructor()
getConstructor
in class TdApi.InlineQueryResult