public class InlineQueryResultPhoto extends Object implements InlineQueryResult
| Constructor and Description |
|---|
InlineQueryResultPhoto() |
public String getType()
public String getId()
public InlineQueryResultPhoto setId(String id)
public String getPhotoUrl()
public InlineQueryResultPhoto setPhotoUrl(String photoUrl)
public String getMimeType()
public InlineQueryResultPhoto setMimeType(String mimeType)
public Integer getPhotoWidth()
public InlineQueryResultPhoto setPhotoWidth(Integer photoWidth)
public Integer getPhotoHeight()
public InlineQueryResultPhoto setPhotoHeight(Integer photoHeight)
public String getThumbUrl()
public InlineQueryResultPhoto setThumbUrl(String thumbUrl)
public String getTitle()
public InlineQueryResultPhoto setTitle(String title)
public String getDescription()
public InlineQueryResultPhoto setDescription(String description)
public String getCaption()
public InlineQueryResultPhoto setCaption(String caption)
public InputMessageContent getInputMessageContent()
public InlineQueryResultPhoto setInputMessageContent(InputMessageContent inputMessageContent)
public InlineKeyboardMarkup getReplyMarkup()
public InlineQueryResultPhoto setReplyMarkup(InlineKeyboardMarkup replyMarkup)
public String getParseMode()
public InlineQueryResultPhoto setParseMode(String parseMode)
public void validate()
throws TelegramApiValidationException
Validablevalidate in interface ValidableTelegramApiValidationException - If any mandatory field is emptyCopyright © 2019. All rights reserved.