public class InlineQueryResultMpeg4Gif extends Object implements InlineQueryResult
| Constructor and Description |
|---|
InlineQueryResultMpeg4Gif() |
public static String getType()
public String getId()
public InlineQueryResultMpeg4Gif setId(String id)
public String getMpeg4Url()
public InlineQueryResultMpeg4Gif setMpeg4Url(String mpeg4Url)
public Integer getMpeg4Width()
public InlineQueryResultMpeg4Gif setMpeg4Width(Integer mpeg4Width)
public Integer getMpeg4Height()
public InlineQueryResultMpeg4Gif setMpeg4Height(Integer mpeg4Height)
public String getThumbUrl()
public InlineQueryResultMpeg4Gif setThumbUrl(String thumbUrl)
public String getTitle()
public InlineQueryResultMpeg4Gif setTitle(String title)
public String getCaption()
public InlineQueryResultMpeg4Gif setCaption(String caption)
public InputMessageContent getInputMessageContent()
public InlineQueryResultMpeg4Gif setInputMessageContent(InputMessageContent inputMessageContent)
public InlineKeyboardMarkup getReplyMarkup()
public InlineQueryResultMpeg4Gif 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.