Skip to content

Commit 173e080

Browse files
OctoNezddelivrance
authored andcommitted
Annotate file-like objects in docstring of send_document
1 parent c13392d commit 173e080

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/client/methods/messages/send_document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def send_document(
5656
For your personal cloud (Saved Messages) you can simply use "me" or "self".
5757
For a contact that exists in your Telegram address book you can use his phone number (str).
5858
59-
document (``str``):
59+
document (``str`` | file-like object):
6060
File to send.
6161
Pass a file_id as string to send a file that exists on the Telegram servers,
6262
pass an HTTP URL as a string for Telegram to get a file from the Internet, or

0 commit comments

Comments
 (0)