Add sticker support

This commit is contained in:
Zomatree
2020-11-23 10:09:20 +00:00
committed by GitHub
parent f9b5cead31
commit 344cb96c5d
6 changed files with 178 additions and 3 deletions

View File

@ -1993,6 +1993,23 @@ of :class:`enum.Enum`.
Represents the default avatar with the color red.
See also :attr:`Colour.red`
.. class:: StickerType
Represents the type of sticker images.
.. versionadded:: 1.6
.. attribute:: png
Represents a sticker with a png image.
.. attribute:: apng
Represents a sticker with an apng image.
.. attribute:: lottie
Represents a sticker with a lottie image.
Async Iterator
----------------
@ -2815,6 +2832,12 @@ Widget
.. autoclass:: Widget()
:members:
Sticker
~~~~~~~~~~~~~~~
.. autoclass:: Sticker()
:members:
MessageReference
~~~~~~~~~~~~~~~~~
.. autoclass:: MessageReference()
@ -2982,7 +3005,6 @@ PublicUserFlags
.. autoclass:: PublicUserFlags()
:members:
Exceptions
------------