From 2e846f83ecef0f651ef47cd59efcd25e16fb0698 Mon Sep 17 00:00:00 2001 From: Yan Date: Sat, 20 Jul 2019 10:29:20 +0300 Subject: [PATCH] Annotate file-like objects in docstring of send_video --- pyrogram/client/methods/messages/send_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/methods/messages/send_video.py b/pyrogram/client/methods/messages/send_video.py index 6c1c2efe..458d5148 100644 --- a/pyrogram/client/methods/messages/send_video.py +++ b/pyrogram/client/methods/messages/send_video.py @@ -60,7 +60,7 @@ class SendVideo(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). - video (``str``): + video (``str`` | file-like object): Video to send. Pass a file_id as string to send a video that exists on the Telegram servers, pass an HTTP URL as a string for Telegram to get a video from the Internet, or