Add target_user and target_type to Invite objects

This commit is contained in:
sudosnok
2021-04-22 04:30:35 +01:00
committed by GitHub
parent f4165755a9
commit 67abfea61a
3 changed files with 38 additions and 1 deletions

View File

@ -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.