MadelineProto/docs/TD_docs/constructors/inputInlineQueryResultAnimatedMpeg4.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

2.3 KiB

title description
inputInlineQueryResultAnimatedMpeg4 Represents link to an animated (i.e. without sound) H.264/MPEG-4 AVC video

Constructor: inputInlineQueryResultAnimatedMpeg4

Back to constructors index

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

Attributes:

Name Type Required Description
id string Yes Unique identifier of this result
title string Yes Title of the result
thumb_url string Yes Url of the static result thumb (jpeg or gif), if exists
mpeg4_url string Yes Url of the mp4-file (file size must not exceed 1MB)
mpeg4_width int Yes Width of the video
mpeg4_height int Yes Height of the video
reply_markup ReplyMarkup Yes Message reply markup, should be of type replyMarkupInlineKeyboard or null
input_message_content InputMessageContent Yes Content of the message to be sent, should be of type inputMessageText or inputMessageAnimation or InputMessageLocation or InputMessageVenue or InputMessageContact

Type: InputInlineQueryResult

Example:

$inputInlineQueryResultAnimatedMpeg4 = ['_' => 'inputInlineQueryResultAnimatedMpeg4', 'id' => 'string', 'title' => 'string', 'thumb_url' => 'string', 'mpeg4_url' => 'string', 'mpeg4_width' => int, 'mpeg4_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];

PWRTelegram json-encoded version:

{"_": "inputInlineQueryResultAnimatedMpeg4", "id": "string", "title": "string", "thumb_url": "string", "mpeg4_url": "string", "mpeg4_width": int, "mpeg4_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}

Or, if you're into Lua:

inputInlineQueryResultAnimatedMpeg4={_='inputInlineQueryResultAnimatedMpeg4', id='string', title='string', thumb_url='string', mpeg4_url='string', mpeg4_width=int, mpeg4_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}

Usage of reply_markup

You can provide bot API reply_markup objects here.