Class InlineQueryResultCachedMpeg4Gif
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.inlinequery.result.cached.InlineQueryResultCachedMpeg4Gif
-
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
,InlineQueryResult
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 void
validate()
Validates that mandatory fields are filled and optional objects
-
-
-
Method Detail
-
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
-
-