Add sticker support
This commit is contained in:
24
docs/api.rst
24
docs/api.rst
@ -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
|
||||
------------
|
||||
|
||||
|
Reference in New Issue
Block a user