diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst index 81e35720..60923557 100644 --- a/docs/api.rst +++ b/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 ------------ |