Annotate file-like objects in docstring of send_sticker

This commit is contained in:
Yan 2019-07-20 10:28:07 +03:00 committed by Dan
parent 173e08015a
commit 4c9fee525e

View File

@ -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