OptionaldescriptionDescription of the result
OptionalheightHeight 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.
OptionalmessageMessage 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
OptionalthumbPhoto thumbnail URL (must be jpeg), only applicable in case media is a URL
OptionaltitleTitle of the result
OptionalwidthWidth of the photo in pixels
Inline result containing a photo
If
messageis not provided, InputInlineMessageMedia is used with empty caption.