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

2.2 KiB

title description
inputInlineQueryResultAnimatedGif Represents link to an animated gif

Constructor: inputInlineQueryResultAnimatedGif

Back to constructors index

Represents link to an animated gif

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
gif_url string Yes Url of the gif-file (file size must not exceed 1MB)
gif_width int Yes Width of the gif
gif_height int Yes Height of the gif
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:

$inputInlineQueryResultAnimatedGif = ['_' => 'inputInlineQueryResultAnimatedGif', 'id' => 'string', 'title' => 'string', 'thumb_url' => 'string', 'gif_url' => 'string', 'gif_width' => int, 'gif_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];

PWRTelegram json-encoded version:

{"_": "inputInlineQueryResultAnimatedGif", "id": "string", "title": "string", "thumb_url": "string", "gif_url": "string", "gif_width": int, "gif_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}

Or, if you're into Lua:

inputInlineQueryResultAnimatedGif={_='inputInlineQueryResultAnimatedGif', id='string', title='string', thumb_url='string', gif_url='string', gif_width=int, gif_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}

Usage of reply_markup

You can provide bot API reply_markup objects here.