public class InlineQueryResultCachedDocument extends Object implements InlineQueryResult
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineQueryResultCachedDocument.InlineQueryResultCachedDocumentBuilder |
| Constructor and Description |
|---|
InlineQueryResultCachedDocument() |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultCachedDocument.InlineQueryResultCachedDocumentBuilder |
builder()
This builder will allow you to progressively construct this object.
|
String |
getCaption()
Gets the caption for the result
|
String |
getDescription()
Gets the description of the result
|
String |
getDocumentFileId()
Gets the ID for the cached document file on the telegram servers
|
String |
getId()
Gets the ID of this InlineQueryResult object
|
InputMessageContent |
getInputMessageContent()
Gets the content of the message to be sent instead of the document
|
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 InlineQueryResultCachedDocument.InlineQueryResultCachedDocumentBuilder builder()
public InlineQueryResultType getType()
getType in interface InlineQueryResult@NonNull public String getId()
@NonNull public String getDocumentFileId()
@NonNull public String getTitle()
public String getCaption()
public String getDescription()
public InlineReplyMarkup getReplyMarkup()
public InputMessageContent getInputMessageContent()
Copyright © 2017. All rights reserved.