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 String
getCaption()
String
getId()
InputMessageContent
getInputMessageContent()
String
getMpeg4FileId()
String
getParseMode()
InlineKeyboardMarkup
getReplyMarkup()
String
getTitle()
String
getType()
InlineQueryResultCachedMpeg4Gif
setCaption(String caption)
InlineQueryResultCachedMpeg4Gif
setId(String id)
InlineQueryResultCachedMpeg4Gif
setInputMessageContent(InputMessageContent inputMessageContent)
InlineQueryResultCachedMpeg4Gif
setMpeg4FileId(String mpeg4FileId)
InlineQueryResultCachedMpeg4Gif
setParseMode(String parseMode)
InlineQueryResultCachedMpeg4Gif
setReplyMarkup(InlineKeyboardMarkup replyMarkup)
InlineQueryResultCachedMpeg4Gif
setTitle(String title)
String
toString()
void
validate()
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 TelegramApiValidationException
Description copied from interface:Validable
Validates that mandatory fields are filled and optional objects- Specified by:
validate
in interfaceValidable
- Throws:
TelegramApiValidationException
- If any mandatory field is empty
-
-