From 67abfea61a0f5de45ef3d76975bf702e4b016b82 Mon Sep 17 00:00:00 2001 From: sudosnok Date: Thu, 22 Apr 2021 04:30:35 +0100 Subject: Add target_user and target_type to Invite objects --- docs/api.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'docs') 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. -- cgit v1.2.3