OptionalcaptionCaption of the photo to be sent, 0-1024 characters after entities parsing.
Optionalcaption_List of special entities that appear in the caption.
Optionalhas_Pass True, if the photo needs to be covered with a spoiler animation.
File to send. Pass a file_id to send a file that exists on the Telegram servers, an HTTP URL, or upload using InputFile.
Optionalparse_Mode for parsing entities in the photo caption.
Optionalshow_Pass True, if the caption must be shown above the message media.
Type of the result, must be 'photo'.
Represents a photo to be sent as part of a media group or edited media.
See
Telegram Bot API: InputMediaPhoto