public static class TdApi.InputInlineQueryResultAudio extends TdApi.InputInlineQueryResult
TdApi.InputInlineQueryResult.Constructors
Modifier and Type | Field and Description |
---|---|
int |
audioDuration
Audio file duration, in seconds.
|
java.lang.String |
audioUrl
The URL of the audio file.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
id
Unique identifier of the query result.
|
TdApi.InputMessageContent |
inputMessageContent
The content of the message to be sent.
|
java.lang.String |
performer
Performer of the audio file.
|
TdApi.ReplyMarkup |
replyMarkup
The message reply markup; pass null if none.
|
java.lang.String |
title
Title of the audio file.
|
Constructor and Description |
---|
InputInlineQueryResultAudio()
Represents a link to an MP3 audio file.
|
InputInlineQueryResultAudio(java.lang.String id,
java.lang.String title,
java.lang.String performer,
java.lang.String audioUrl,
int audioDuration,
TdApi.ReplyMarkup replyMarkup,
TdApi.InputMessageContent inputMessageContent)
Represents a link to an MP3 audio file.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String id
public java.lang.String title
public java.lang.String performer
public java.lang.String audioUrl
public int audioDuration
public TdApi.ReplyMarkup replyMarkup
public TdApi.InputMessageContent inputMessageContent
public static final int CONSTRUCTOR
public InputInlineQueryResultAudio()
public InputInlineQueryResultAudio(java.lang.String id, java.lang.String title, java.lang.String performer, java.lang.String audioUrl, int audioDuration, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)
id
- Unique identifier of the query result.title
- Title of the audio file.performer
- Performer of the audio file.audioUrl
- The URL of the audio file.audioDuration
- Audio file duration, in seconds.replyMarkup
- The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null.inputMessageContent
- The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageAudio, inputMessageInvoice, inputMessageLocation, inputMessageVenue or inputMessageContact.public int getConstructor()
getConstructor
in class TdApi.InputInlineQueryResult