Optional
descriptionDescription of the result
Optional
heightHeight of the photo in pixels
Unique ID of the result
The photo itself
Can be a URL, a TDLib and Bot API compatible File ID, or a TL object representing either of them.
Optional
messageMessage to send when the result is selected.
By default, is automatically generated, and details about how it is generated can be found in subclasses' description
Optional
thumbPhoto thumbnail URL (must be jpeg), only applicable in case media
is a URL
Optional
titleTitle of the result
Optional
widthWidth of the photo in pixels
Inline result containing a photo
If
message
is not provided, InputInlineMessageMedia is used with empty caption.