mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 05:54:51 +00:00
Annotate file-like objects in docstring of send_document
This commit is contained in:
parent
c13392d2ce
commit
173e08015a
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ class SendDocument(BaseClient):
|
|||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||
|
||||
document (``str``):
|
||||
document (``str`` | file-like object):
|
||||
File to send.
|
||||
Pass a file_id as string to send a file that exists on the Telegram servers,
|
||||
pass an HTTP URL as a string for Telegram to get a file from the Internet, or
|
||||
|
|
|
|||
Loading…
Reference in a new issue