public class InlineQueryResultDocument extends Object implements InlineQueryResult
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineQueryResultDocument.InlineQueryResultDocumentBuilder |
| Constructor and Description |
|---|
InlineQueryResultDocument() |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultDocument.InlineQueryResultDocumentBuilder |
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
|
URL |
getDocumentUrl()
Gets the URL of the document
|
String |
getId()
Gets the ID of this InlineQueryResult object
|
InputMessageContent |
getInputMessageContent()
Gets the content of the message to be sent instead of the document
|
String |
getMimeType()
Gets the mime type of the document file.
|
InlineReplyMarkup |
getReplyMarkup()
Gets the inline keyboard attached to this message
|
int |
getThumbHeight()
Gets the height of the thumbnail in pixels
|
URL |
getThumbUrl()
Gets the URL of the thumbnail for the result
|
int |
getThumbWidth()
Gets the width of the thumbnail in pixels
|
String |
getTitle()
Gets the title of the result
|
InlineQueryResultType |
getType()
Get the type of InlineQueryResult that this object refers to
|
public static InlineQueryResultDocument.InlineQueryResultDocumentBuilder builder()
public InlineQueryResultType getType()
getType in interface InlineQueryResult@NonNull public String getId()
@NonNull public String getTitle()
public String getCaption()
@NonNull public URL getDocumentUrl()
@NonNull public String getMimeType()
public String getDescription()
public InlineReplyMarkup getReplyMarkup()
public InputMessageContent getInputMessageContent()
public URL getThumbUrl()
public int getThumbWidth()
public int getThumbHeight()
Copyright © 2017. All rights reserved.