TDLib v0.0.2 TDLib.Object.InputInlineQueryResultPhoto View Source
Represents link to a JPEG image.
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier of the query result. |
| title | string | Title of the result, if known. |
| description | string | A short description of the result, if known. |
| thumbnail_url | string | URL of the photo thumbnail, if it exists. |
| photo_url | string | The URL of the JPEG photo (photo size must not exceed 5MB). |
| photo_width | number | Width of the photo. |
| photo_height | number | Height of the photo. |
| reply_markup | ReplyMarkup | The message reply markup. Must be of type replyMarkupInlineKeyboard or null. |
| input_message_content | InputMessageContent | The 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.