Message.reply_photo¶
Reply to the message with a photo. Shortcut for sendPhoto.
Message.reply_photo(
photo: InputFile | str,
thumbnail: InputThumbnail | None = None,
caption: str = None,
caption_entities: list = None,
parse_mode: str = None,
added_sticker_file_ids: list = None,
width: int = 0,
height: int = 0,
self_destruct_type: MessageSelfDestructType | None = None,
disable_notification: bool = False,
protect_content: bool = False,
allow_paid_broadcast: bool = False,
has_spoiler: bool = False,
topic_id: MessageTopic | None = None,
quote: InputTextQuote | None = None,
no_reply: bool = False,
ephemeral: bool = False,
receiver_user_id: int = 0,
reply_markup: ReplyMarkupInlineKeyboard | ReplyMarkupShowKeyboard | ReplyMarkupForceReply | ReplyMarkupRemoveKeyboard | None = None
) → Error | Message