TDLib v0.0.2 TDLib.Object.InputInlineQueryResultPhoto View Source

Represents link to a JPEG image.

NameTypeDescription
idstringUnique identifier of the query result.
titlestringTitle of the result, if known.
descriptionstringA short description of the result, if known.
thumbnail_urlstringURL of the photo thumbnail, if it exists.
photo_urlstringThe URL of the JPEG photo (photo size must not exceed 5MB).
photo_widthnumberWidth of the photo.
photo_heightnumberHeight of the photo.
reply_markupReplyMarkupThe message reply markup. Must be of type replyMarkupInlineKeyboard or null.
input_message_contentInputMessageContentThe content of the message to be sent. Must be one of the following types: InputMessageText, InputMessagePhoto, InputMessageLocation, InputMessageVenue or InputMessageContact.

More details on telegram’s documentation.