public class InlineQueryResultCachedPhoto extends Object implements InlineQueryResult
| Constructor and Description |
|---|
InlineQueryResultCachedPhoto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCaption() |
String |
getDescription() |
String |
getId() |
InputMessageContent |
getInputMessageContent() |
String |
getPhotoFileId() |
InlineKeyboardMarkup |
getReplyMarkup() |
String |
getTitle() |
String |
getType() |
InlineQueryResultCachedPhoto |
setCaption(String caption) |
InlineQueryResultCachedPhoto |
setDescription(String description) |
InlineQueryResultCachedPhoto |
setId(String id) |
InlineQueryResultCachedPhoto |
setInputMessageContent(InputMessageContent inputMessageContent) |
InlineQueryResultCachedPhoto |
setPhotoFileId(String photoFileId) |
InlineQueryResultCachedPhoto |
setReplyMarkup(InlineKeyboardMarkup replyMarkup) |
InlineQueryResultCachedPhoto |
setTitle(String title) |
String |
toString() |
void |
validate()
Validates that mandatory fields are filled and optional objects
|
public String getType()
public String getId()
public InlineQueryResultCachedPhoto setId(String id)
public String getPhotoFileId()
public InlineQueryResultCachedPhoto setPhotoFileId(String photoFileId)
public String getTitle()
public InlineQueryResultCachedPhoto setTitle(String title)
public String getDescription()
public InlineQueryResultCachedPhoto setDescription(String description)
public String getCaption()
public InlineQueryResultCachedPhoto setCaption(String caption)
public InputMessageContent getInputMessageContent()
public InlineQueryResultCachedPhoto setInputMessageContent(InputMessageContent inputMessageContent)
public InlineKeyboardMarkup getReplyMarkup()
public InlineQueryResultCachedPhoto setReplyMarkup(InlineKeyboardMarkup replyMarkup)
public void validate()
throws TelegramApiValidationException
Validablevalidate in interface ValidableTelegramApiValidationException - If any mandatory field is emptyCopyright © 2016. All rights reserved.