public class InlineQueryResultCachedMpeg4Gif extends Object implements InlineQueryResult
| Constructor and Description |
|---|
InlineQueryResultCachedMpeg4Gif() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCaption() |
String |
getId() |
InputMessageContent |
getInputMessageContent() |
String |
getMpeg4FileId() |
InlineKeyboardMarkup |
getReplyMarkup() |
String |
getTitle() |
static String |
getType() |
void |
serialize(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
void |
serializeWithType(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) |
InlineQueryResultCachedMpeg4Gif |
setCaption(String caption) |
InlineQueryResultCachedMpeg4Gif |
setId(String id) |
InlineQueryResultCachedMpeg4Gif |
setInputMessageContent(InputMessageContent inputMessageContent) |
InlineQueryResultCachedMpeg4Gif |
setMpeg4FileId(String mpeg4FileId) |
InlineQueryResultCachedMpeg4Gif |
setReplyMarkup(InlineKeyboardMarkup replyMarkup) |
InlineQueryResultCachedMpeg4Gif |
setTitle(String title) |
org.json.JSONObject |
toJson()
Convert to json object
|
String |
toString() |
void |
validate()
Validates that mandatory fields are filled and optional objects
|
public static String getType()
public String getId()
public InlineQueryResultCachedMpeg4Gif setId(String id)
public String getMpeg4FileId()
public InlineQueryResultCachedMpeg4Gif setMpeg4FileId(String mpeg4FileId)
public String getTitle()
public InlineQueryResultCachedMpeg4Gif setTitle(String title)
public String getCaption()
public InlineQueryResultCachedMpeg4Gif setCaption(String caption)
public InputMessageContent getInputMessageContent()
public InlineQueryResultCachedMpeg4Gif setInputMessageContent(InputMessageContent inputMessageContent)
public InlineKeyboardMarkup getReplyMarkup()
public InlineQueryResultCachedMpeg4Gif 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.