Interface InputInlineQueryResultAnimation

Represents a single result of an inline query; for bots only. Subtype of InputInlineQueryResult.

interface InputInlineQueryResultAnimation {
    @type: "inputInlineQueryResultAnimation";
    id: string;
    input_message_content: InputMessageContent;
    reply_markup: ReplyMarkup;
    thumbnail_mime_type: string;
    thumbnail_url: string;
    title: string;
    video_duration: number;
    video_height: number;
    video_mime_type: string;
    video_url: string;
    video_width: number;
}

Properties

@type: "inputInlineQueryResultAnimation"
id: string

Unique identifier of the query result.

input_message_content: InputMessageContent

The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageAnimation, inputMessageInvoice, inputMessageLocation, inputMessageVenue or inputMessageContact.

reply_markup: ReplyMarkup

The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null.

thumbnail_mime_type: string

MIME type of the video thumbnail. If non-empty, must be one of "image/jpeg", "image/gif" and "video/mp4".

thumbnail_url: string

URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists.

title: string

Title of the query result.

video_duration: number

Duration of the video, in seconds.

video_height: number

Height of the video.

video_mime_type: string

MIME type of the video file. Must be one of "image/gif" and "video/mp4".

video_url: string

The URL of the video file (file size must not exceed 1MB).

video_width: number

Width of the video.