public class InlineQueryResultAudio extends Object implements InlineQueryResult
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineQueryResultAudio.InlineQueryResultAudioBuilder |
| Constructor and Description |
|---|
InlineQueryResultAudio() |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultAudio.InlineQueryResultAudioBuilder |
builder()
This builder will allow you to progressively construct this object.
|
int |
getAudioDuration()
Gets the duration of the audio
|
URL |
getAudioUrl()
Gets the URL for the audio
|
String |
getCaption()
Gets the caption of the result
|
String |
getId()
Gets the ID of this InlineQueryResult object
|
InputMessageContent |
getInputMessageContent()
Gets the content of the message to be sent instead of the audio
|
String |
getPerformer()
Gets the performer of the audio
|
InlineReplyMarkup |
getReplyMarkup()
Gets the inline keyboard attached to this message
|
String |
getTitle()
Gets the title of the result
|
InlineQueryResultType |
getType()
Get the type of InlineQueryResult that this object refers to
|
public static InlineQueryResultAudio.InlineQueryResultAudioBuilder builder()
public InlineQueryResultType getType()
getType in interface InlineQueryResult@NonNull public String getId()
@NonNull public URL getAudioUrl()
@NonNull public String getTitle()
public String getCaption()
public String getPerformer()
public int getAudioDuration()
public InlineReplyMarkup getReplyMarkup()
public InputMessageContent getInputMessageContent()
Copyright © 2017. All rights reserved.