InlineQueryResultMpeg4Gif

fun InlineQueryResultMpeg4Gif(id: String, mpeg4Url: String, mpeg4Width: Int? = null, mpeg4Height: Int? = null, mpeg4Duration: Int? = null, thumbUrl: String, thumbMimeType: String? = null, title: String? = null, caption: String? = null, parseMode: String? = null, captionEntities: List<MessageEntity> = emptyList(), replyMarkup: InlineKeyboardMarkup? = null, inputMessageContent: InputMessageContent? = null, type: String)

Parameters

id

Unique identifier for this result, 1-64 bytes

mpeg4Url

A valid URL for the MP4 file. File size must not exceed 1MB

mpeg4Width

Optional. Video width

mpeg4Height

Optional. Video height

mpeg4Duration

Optional. Video duration

thumbUrl

URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result

thumbMimeType

Optional. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”. Defaults to “image/jpeg”

title

Optional. Title for the result

caption

Optional. Caption of the MPEG-4 file to be sent, 0-1024 characters after entities parsing

parseMode

Optional. Mode for parsing entities in the caption. See formatting options for more details.

captionEntities

Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode

replyMarkup

Optional. Inline keyboard attached to the message

inputMessageContent

Optional. Content of the message to be sent instead of the video animation

type

Type of the result, must be mpeg4_gif