public class InlineQueryResultGif extends Object implements InlineQueryResult
| Constructor and Description |
|---|
InlineQueryResultGif() |
public static 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 void validate()
throws TelegramApiValidationException
Validablevalidate in interface ValidableTelegramApiValidationException - If any mandatory field is emptypublic org.json.JSONObject toJson()
IToJsonpublic void serialize(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers)
throws IOException
serialize in interface com.fasterxml.jackson.databind.JsonSerializableIOExceptionpublic void serializeWithType(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
throws IOException
serializeWithType in interface com.fasterxml.jackson.databind.JsonSerializableIOExceptionCopyright © 2016. All rights reserved.