public class InlineQueryResultCachedDocument extends Object implements InlineQueryResult
| Constructor and Description |
|---|
InlineQueryResultCachedDocument() |
public static String getType()
public String getId()
public InlineQueryResultCachedDocument setId(String id)
public String getTitle()
public InlineQueryResultCachedDocument setTitle(String title)
public String getDocumentFileId()
public InlineQueryResultCachedDocument setDocumentFileId(String documentFileId)
public String getDescription()
public InlineQueryResultCachedDocument setDescription(String description)
public String getCaption()
public InlineQueryResultCachedDocument setCaption(String caption)
public InlineKeyboardMarkup getReplyMarkup()
public InlineQueryResultCachedDocument setReplyMarkup(InlineKeyboardMarkup replyMarkup)
public InputMessageContent getInputMessageContent()
public InlineQueryResultCachedDocument setInputMessageContent(InputMessageContent inputMessageContent)
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.