aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorsudosnok <[email protected]>2021-04-22 04:30:35 +0100
committerGitHub <[email protected]>2021-04-21 23:30:35 -0400
commit67abfea61a0f5de45ef3d76975bf702e4b016b82 (patch)
tree6dcb958138f854f45bc1bf710482bb59d109afcc /docs
parentRename lingering _url Asset properties (diff)
downloaddiscord.py-67abfea61a0f5de45ef3d76975bf702e4b016b82.tar.xz
discord.py-67abfea61a0f5de45ef3d76975bf702e4b016b82.zip
Add target_user and target_type to Invite objects
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 6408947f..60ba7e55 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -1952,6 +1952,24 @@ of :class:`enum.Enum`.
Represents a sticker with a lottie image.
+.. class:: InviteTarget
+
+ Represents the type of target an invite contains.
+
+ .. versionadded:: 2.0
+
+ .. attribute:: unknown
+
+ The invite doesn't target anyone or anything.
+
+ .. attribute:: stream
+
+ The invite targets a stream.
+
+ .. attribute:: embedded_application
+
+ The invite targets an embedded application activity.
+
.. class:: VideoQualityMode
Represents the camera video quality mode for voice channel participants.