From 4c9fee525e6b622645ea6f362ff7fe3365f65229 Mon Sep 17 00:00:00 2001 From: Yan Date: Sat, 20 Jul 2019 10:28:07 +0300 Subject: [PATCH] Annotate file-like objects in docstring of send_sticker --- pyrogram/client/methods/messages/send_sticker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/methods/messages/send_sticker.py b/pyrogram/client/methods/messages/send_sticker.py index 98cc4425..8cccfe01 100644 --- a/pyrogram/client/methods/messages/send_sticker.py +++ b/pyrogram/client/methods/messages/send_sticker.py @@ -52,7 +52,7 @@ class SendSticker(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). - sticker (``str``): + sticker (``str`` | file-like object): Sticker to send. Pass a file_id as string to send a sticker that exists on the Telegram servers, pass an HTTP URL as a string for Telegram to get a .webp sticker file from the Internet, or