public class InlineQueryResultVideo extends Object implements InlineQueryResult
| Constructor and Description |
|---|
InlineQueryResultVideo() |
public static String getType()
public String getId()
public InlineQueryResultVideo setId(String id)
public String getMimeType()
public InlineQueryResultVideo setMimeType(String mimeType)
public String getVideoUrl()
public InlineQueryResultVideo setVideoUrl(String videoUrl)
public Integer getVideoWidth()
public InlineQueryResultVideo setVideoWidth(Integer videoWidth)
public Integer getVideoHeight()
public InlineQueryResultVideo setVideoHeight(Integer videoHeight)
public Integer getVideoDuration()
public InlineQueryResultVideo setVideoDuration(Integer videoDuration)
public String getThumbUrl()
public InlineQueryResultVideo setThumbUrl(String thumbUrl)
public String getTitle()
public InlineQueryResultVideo setTitle(String title)
public String getDescription()
public InlineQueryResultVideo setDescription(String description)
public String getCaption()
public InlineQueryResultVideo setCaption(String caption)
public InputMessageContent getInputMessageContent()
public InlineQueryResultVideo setInputMessageContent(InputMessageContent inputMessageContent)
public InlineKeyboardMarkup getReplyMarkup()
public InlineQueryResultVideo 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.