public class InlineQueryResultVoice extends Object implements InlineQueryResult
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineQueryResultVoice.InlineQueryResultVoiceBuilder |
| Constructor and Description |
|---|
InlineQueryResultVoice() |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultVoice.InlineQueryResultVoiceBuilder |
builder()
This builder will allow you to progressively construct this object.
|
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 voice recording
|
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
|
Integer |
getVoiceDuration()
Gets the duration of the voice recording
|
URL |
getVoiceUrl()
Gets the URL of the voice recording
|
public static InlineQueryResultVoice.InlineQueryResultVoiceBuilder builder()
public InlineQueryResultType getType()
getType in interface InlineQueryResult@NonNull public String getId()
@NonNull public URL getVoiceUrl()
@NonNull public String getTitle()
public Integer getVoiceDuration()
public InlineReplyMarkup getReplyMarkup()
public InputMessageContent getInputMessageContent()
public String getCaption()
Copyright © 2017. All rights reserved.