diff options
| author | sudosnok <[email protected]> | 2021-04-22 04:30:35 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-21 23:30:35 -0400 |
| commit | 67abfea61a0f5de45ef3d76975bf702e4b016b82 (patch) | |
| tree | 6dcb958138f854f45bc1bf710482bb59d109afcc /docs | |
| parent | Rename lingering _url Asset properties (diff) | |
| download | discord.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.rst | 18 |
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. |