MadelineProtoDocs/docs/TD_docs/constructors/inputInlineQueryResultPhoto.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.4 KiB

title description image
inputInlineQueryResultPhoto Represents link to a jpeg photo https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputInlineQueryResultPhoto

Back to constructors index

Represents link to a jpeg photo

Attributes:

Name Type Required Description
id string Yes Unique identifier of this result
title string Yes Title of the result, if known
description string Yes Short description of the result, if known
thumb_url string Yes Url of the photo thumb, if exists
photo_url string Yes Url of the jpeg photo (photo must not exceed 5MB)
photo_width int Yes Width of the photo
photo_height int Yes Height of the photo
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 inputMessagePhoto or InputMessageLocation or InputMessageVenue or InputMessageContact

Type: InputInlineQueryResult