Skip to content

Commit 4c9fee5

Browse files
OctoNezddelivrance
authored andcommitted
Annotate file-like objects in docstring of send_sticker
1 parent 173e080 commit 4c9fee5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/client/methods/messages/send_sticker.py

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

0 commit comments

Comments
 (0)