Annotate file-like objects in docstring of send_sticker
This commit is contained in:
parent
173e08015a
commit
4c9fee525e
@ -52,7 +52,7 @@ class SendSticker(BaseClient):
|
|||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
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).
|
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.
|
Sticker to send.
|
||||||
Pass a file_id as string to send a sticker that exists on the Telegram servers,
|
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
|
pass an HTTP URL as a string for Telegram to get a .webp sticker file from the Internet, or
|
||||||
|
Loading…
Reference in New Issue
Block a user