Skip to content

InputInlineQueryResultAnimation

Type · TDLib 1.8.67 · d1085f9c

Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video

InputInlineQueryResultAnimation(
  id: string,
  title: string,
  thumbnail_url: string,
  thumbnail_mime_type: string,
  video_url: string,
  video_mime_type: string,
  video_duration: int32,
  video_width: int32,
  video_height: int32,
  reply_markup: ReplyMarkup,
  input_message_content: InputMessageContent
) → InputInlineQueryResult

id

string

Unique identifier of the query result

title

string

Title of the query result

thumbnail_url

string

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

thumbnail_mime_type

string

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

video_url

string

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

video_mime_type

string

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

video_duration

int32

Duration of the video, in seconds

video_width

int32

Width of the video

video_height

int32

Height of the video

reply_markup

ReplyMarkup

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

input_message_content

InputMessageContent

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