Class InlineQueryResultCachedMpeg4Gif
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.inlinequery.result.cached.InlineQueryResultCachedMpeg4Gif
-
- All Implemented Interfaces:
Serializable,BotApiObject,InputBotApiObject,Validable,InlineQueryResult
- Direct Known Subclasses:
InlineQueryResultCachedMpeg4Gif
public class InlineQueryResultCachedMpeg4Gif 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 InlineQueryResultCachedMpeg4Gif()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCaption()StringgetId()InputMessageContentgetInputMessageContent()StringgetMpeg4FileId()StringgetParseMode()InlineKeyboardMarkupgetReplyMarkup()StringgetTitle()StringgetType()InlineQueryResultCachedMpeg4GifsetCaption(String caption)InlineQueryResultCachedMpeg4GifsetId(String id)InlineQueryResultCachedMpeg4GifsetInputMessageContent(InputMessageContent inputMessageContent)InlineQueryResultCachedMpeg4GifsetMpeg4FileId(String mpeg4FileId)InlineQueryResultCachedMpeg4GifsetParseMode(String parseMode)InlineQueryResultCachedMpeg4GifsetReplyMarkup(InlineKeyboardMarkup replyMarkup)InlineQueryResultCachedMpeg4GifsetTitle(String title)StringtoString()voidvalidate()Validates that mandatory fields are filled and optional objects
-
-
-
Method Detail
-
getType
public String getType()
-
getId
public String getId()
-
setId
public InlineQueryResultCachedMpeg4Gif setId(String id)
-
getMpeg4FileId
public String getMpeg4FileId()
-
setMpeg4FileId
public InlineQueryResultCachedMpeg4Gif setMpeg4FileId(String mpeg4FileId)
-
getTitle
public String getTitle()
-
setTitle
public InlineQueryResultCachedMpeg4Gif setTitle(String title)
-
getCaption
public String getCaption()
-
setCaption
public InlineQueryResultCachedMpeg4Gif setCaption(String caption)
-
getInputMessageContent
public InputMessageContent getInputMessageContent()
-
setInputMessageContent
public InlineQueryResultCachedMpeg4Gif setInputMessageContent(InputMessageContent inputMessageContent)
-
getReplyMarkup
public InlineKeyboardMarkup getReplyMarkup()
-
setReplyMarkup
public InlineQueryResultCachedMpeg4Gif setReplyMarkup(InlineKeyboardMarkup replyMarkup)
-
getParseMode
public String getParseMode()
-
setParseMode
public InlineQueryResultCachedMpeg4Gif 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
-
-