From 344cb96c5dbdae438be8d99cf8dbd65b166db93f Mon Sep 17 00:00:00 2001 From: Zomatree <39768508+Zomatree@users.noreply.github.com> Date: Mon, 23 Nov 2020 10:09:20 +0000 Subject: Add sticker support --- docs/api.rst | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'docs') 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 ------------ -- cgit v1.2.3