MadelineProto/docs/TD_docs/constructors/inputInlineQueryResultPhoto.md
2017-08-25 14:43:29 +02:00

1.3 KiB

title description
inputInlineQueryResultPhoto Represents link to a jpeg photo

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