Class 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.
    • Constructor Detail

      • InlineQueryResultCachedVideo

        public InlineQueryResultCachedVideo()
      • InlineQueryResultCachedVideo

        public InlineQueryResultCachedVideo​(String videoFileId,
                                            String title)
        Parameters:
        videoFileId - A valid file identifier for the file
        title - 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 file
        title - Title for the result
        description - Optional. Short description of the result
        replyMarkup - Optional. Inline keyboard attached to the message
        inputMessageContent - Optional. Content of the message