We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c13392d commit 173e080Copy full SHA for 173e080
1 file changed
pyrogram/client/methods/messages/send_document.py
@@ -56,7 +56,7 @@ def send_document(
56
For your personal cloud (Saved Messages) you can simply use "me" or "self".
57
For a contact that exists in your Telegram address book you can use his phone number (str).
58
59
- document (``str``):
+ document (``str`` | file-like object):
60
File to send.
61
Pass a file_id as string to send a file that exists on the Telegram servers,
62
pass an HTTP URL as a string for Telegram to get a file from the Internet, or
0 commit comments