Message.reply_document¶
Reply to the message with a document. Shortcut for sendDocument.
Message.reply_document(
document: InputFile | str,
thumbnail: InputThumbnail | None = None,
caption: str = None,
caption_entities: list = None,
parse_mode: str = None,
disable_content_type_detection: bool = True,
disable_notification: bool = False,
protect_content: bool = False,
allow_paid_broadcast: 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