Class InlineQueryResultCachedGif
java.lang.Object
org.telegram.telegrambots.meta.api.objects.inlinequery.result.cached.InlineQueryResultCachedGif
- All Implemented Interfaces:
Serializable,BotApiObject,Validable,InlineQueryResult
- Version:
- 1.0 Represents a link to an animated GIF file stored on the Telegram servers. By default, this animated GIF file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with specified content instead of the animation.
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
InlineQueryResultCachedGif
public InlineQueryResultCachedGif()
-
-
Method Details
-
validate
Description copied from interface:ValidableValidates that mandatory fields are filled and optional objects- Specified by:
validatein interfaceValidable- Throws:
TelegramApiValidationException- If any mandatory field is empty
-