public class InlineQueryResultCachedVoice extends Object implements InlineQueryResult
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineQueryResultCachedVoice.InlineQueryResultCachedVoiceBuilder |
| Constructor and Description |
|---|
InlineQueryResultCachedVoice() |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultCachedVoice.InlineQueryResultCachedVoiceBuilder |
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
|
String |
getVoiceFileId()
Gets the ID for the cached voice file on the telegram servers
|
public static InlineQueryResultCachedVoice.InlineQueryResultCachedVoiceBuilder builder()
public InlineQueryResultType getType()
getType in interface InlineQueryResult@NonNull public String getId()
@NonNull public String getVoiceFileId()
@NonNull public String getTitle()
public InlineReplyMarkup getReplyMarkup()
public InputMessageContent getInputMessageContent()
public String getCaption()
Copyright © 2017. All rights reserved.