Class InlineQueryResultMpeg4Gif
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultMpeg4Gif
-
- All Implemented Interfaces:
Serializable,BotApiObject,InputBotApiObject,Validable,InlineQueryResult
public class InlineQueryResultMpeg4Gif extends Object implements InlineQueryResult
- Version:
- 1.0 Represents a link to a video animation (H.264/MPEG-4 AVC video without sound). By default, this animated MPEG-4 file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.
- Author:
- Ruben Bermudez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InlineQueryResultMpeg4Gif()
-
Method Summary
-
-
-
Method Detail
-
getType
public String getType()
-
getId
public String getId()
-
setId
public InlineQueryResultMpeg4Gif setId(String id)
-
getMpeg4Url
public String getMpeg4Url()
-
setMpeg4Url
public InlineQueryResultMpeg4Gif setMpeg4Url(String mpeg4Url)
-
getMpeg4Width
public Integer getMpeg4Width()
-
setMpeg4Width
public InlineQueryResultMpeg4Gif setMpeg4Width(Integer mpeg4Width)
-
getMpeg4Height
public Integer getMpeg4Height()
-
setMpeg4Height
public InlineQueryResultMpeg4Gif setMpeg4Height(Integer mpeg4Height)
-
getThumbUrl
public String getThumbUrl()
-
setThumbUrl
public InlineQueryResultMpeg4Gif setThumbUrl(String thumbUrl)
-
getTitle
public String getTitle()
-
setTitle
public InlineQueryResultMpeg4Gif setTitle(String title)
-
getCaption
public String getCaption()
-
setCaption
public InlineQueryResultMpeg4Gif setCaption(String caption)
-
getInputMessageContent
public InputMessageContent getInputMessageContent()
-
setInputMessageContent
public InlineQueryResultMpeg4Gif setInputMessageContent(InputMessageContent inputMessageContent)
-
getReplyMarkup
public InlineKeyboardMarkup getReplyMarkup()
-
setReplyMarkup
public InlineQueryResultMpeg4Gif setReplyMarkup(InlineKeyboardMarkup replyMarkup)
-
getMpeg4Duration
public Integer getMpeg4Duration()
-
setMpeg4Duration
public InlineQueryResultMpeg4Gif setMpeg4Duration(Integer mpeg4Duration)
-
getParseMode
public String getParseMode()
-
setParseMode
public InlineQueryResultMpeg4Gif setParseMode(String parseMode)
-
validate
public void validate() throws TelegramApiValidationExceptionDescription copied from interface:ValidableValidates that mandatory fields are filled and optional objects- Specified by:
validatein interfaceValidable- Throws:
TelegramApiValidationException- If any mandatory field is empty
-
-