[docs] Fix typehint for Embed.set_(image,thumbnail)

This commit is contained in:
lmaotrigine 2024-08-29 01:20:51 +05:30 committed by GitHub
parent 794f2bf149
commit 8104ff2ad4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -413,8 +413,9 @@ class Embed:
Parameters
-----------
url: :class:`str`
url: Optional[:class:`str`]
The source URL for the image. Only HTTP(S) is supported.
If ``None`` is passed, any existing image is removed.
Inline attachment URLs are also supported, see :ref:`local_image`.
"""
@ -457,8 +458,9 @@ class Embed:
Parameters
-----------
url: :class:`str`
url: Optional[:class:`str`]
The source URL for the thumbnail. Only HTTP(S) is supported.
If ``None`` is passed, any existing thumbnail is removed.
Inline attachment URLs are also supported, see :ref:`local_image`.
"""