public class InlineQueryResultCachedPhoto extends Object implements InlineQueryResultCached
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineQueryResultCachedPhoto.InlineQueryResultCachedPhotoBuilder |
| Constructor and Description |
|---|
InlineQueryResultCachedPhoto() |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultCachedPhoto.InlineQueryResultCachedPhotoBuilder |
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 |
getId()
Gets the ID of this InlineQueryResult object
|
InputMessageContent |
getInputMessageContent()
Gets the content of the message to be sent instead of the photo
|
String |
getPhotoFileId()
Gets the ID for the cached photo file on the telegram servers
|
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 InlineQueryResultCachedPhoto.InlineQueryResultCachedPhotoBuilder builder()
public InlineQueryResultType getType()
getType in interface InlineQueryResult@NonNull public String getId()
@NonNull public String getPhotoFileId()
public String getTitle()
public String getCaption()
public InputMessageContent getInputMessageContent()
public String getDescription()
public InlineReplyMarkup getReplyMarkup()
Copyright © 2017. All rights reserved.