public class InlineQueryResultGif extends Object implements InlineQueryResult
| Constructor and Description |
|---|
InlineQueryResultGif() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCaption() |
Integer |
getGifDuration() |
Integer |
getGifHeight() |
String |
getGifUrl() |
Integer |
getGifWidth() |
String |
getId() |
InputMessageContent |
getInputMessageContent() |
InlineKeyboardMarkup |
getReplyMarkup() |
String |
getThumbUrl() |
String |
getTitle() |
String |
getType() |
InlineQueryResultGif |
setCaption(String caption) |
void |
setGifDuration(Integer gifDuration) |
InlineQueryResultGif |
setGifHeight(Integer gifHeight) |
InlineQueryResultGif |
setGifUrl(String gifUrl) |
InlineQueryResultGif |
setGifWidth(Integer gifWidth) |
InlineQueryResultGif |
setId(String id) |
InlineQueryResultGif |
setInputMessageContent(InputMessageContent inputMessageContent) |
InlineQueryResultGif |
setReplyMarkup(InlineKeyboardMarkup replyMarkup) |
InlineQueryResultGif |
setThumbUrl(String thumbUrl) |
InlineQueryResultGif |
setTitle(String title) |
String |
toString() |
void |
validate()
Validates that mandatory fields are filled and optional objects
|
public String getType()
public String getId()
public InlineQueryResultGif setId(String id)
public String getGifUrl()
public InlineQueryResultGif setGifUrl(String gifUrl)
public Integer getGifWidth()
public InlineQueryResultGif setGifWidth(Integer gifWidth)
public Integer getGifHeight()
public InlineQueryResultGif setGifHeight(Integer gifHeight)
public String getThumbUrl()
public InlineQueryResultGif setThumbUrl(String thumbUrl)
public String getTitle()
public InlineQueryResultGif setTitle(String title)
public String getCaption()
public InlineQueryResultGif setCaption(String caption)
public InputMessageContent getInputMessageContent()
public InlineQueryResultGif setInputMessageContent(InputMessageContent inputMessageContent)
public InlineKeyboardMarkup getReplyMarkup()
public InlineQueryResultGif setReplyMarkup(InlineKeyboardMarkup replyMarkup)
public Integer getGifDuration()
public void setGifDuration(Integer gifDuration)
public void validate()
throws TelegramApiValidationException
Validablevalidate in interface ValidableTelegramApiValidationException - If any mandatory field is emptyCopyright © 2017. All rights reserved.