Class InlineQueryResultCachedVideo
- java.lang.Object
-
- com.cadiducho.telegrambotapi.inline.InlineQueryResult
-
- com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedVideo
-
public class InlineQueryResultCachedVideo extends InlineQueryResult
Represents a link to a video file stored on the Telegram servers. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the video.
-
-
Field Summary
-
Fields inherited from class com.cadiducho.telegrambotapi.inline.InlineQueryResult
id, inputMessageContent, replyMarkup, type
-
-
Constructor Summary
Constructors Constructor Description InlineQueryResultCachedVideo()
InlineQueryResultCachedVideo(String videoFileId, String title)
InlineQueryResultCachedVideo(String videoFileId, String title, String description, InlineKeyboardMarkup replyMarkup, InputMessageContent inputMessageContent)
-
-
-
Constructor Detail
-
InlineQueryResultCachedVideo
public InlineQueryResultCachedVideo()
-
InlineQueryResultCachedVideo
public InlineQueryResultCachedVideo(String videoFileId, String title)
- Parameters:
videoFileId
- A valid file identifier for the filetitle
- Title for the result
-
InlineQueryResultCachedVideo
public InlineQueryResultCachedVideo(String videoFileId, String title, String description, InlineKeyboardMarkup replyMarkup, InputMessageContent inputMessageContent)
- Parameters:
videoFileId
- A valid file identifier for the filetitle
- Title for the resultdescription
- Optional. Short description of the resultreplyMarkup
- Optional. Inline keyboard attached to the messageinputMessageContent
- Optional. Content of the message
-
-