From 304229071f4128c91ceeff7a6727fe2c83568b98 Mon Sep 17 00:00:00 2001 From: z03h Date: Sat, 17 Apr 2021 05:10:41 -0700 Subject: Add VoiceChannel.video_quality_mode --- docs/api.rst | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'docs') diff --git a/docs/api.rst b/docs/api.rst index d20a62c2..7f461cf4 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -1413,6 +1413,8 @@ of :class:`enum.Enum`. - :attr:`~AuditLogDiff.overwrites` - :attr:`~AuditLogDiff.topic` - :attr:`~AuditLogDiff.bitrate` + - :attr:`~AuditLogDiff.rtc_region` + - :attr:`~AuditLogDiff.video_quality_mode` .. attribute:: channel_delete @@ -1945,6 +1947,20 @@ of :class:`enum.Enum`. Represents a sticker with a lottie image. +.. class:: VideoQualityMode + + Represents the camera video quality mode for voice channel participants. + + .. versionadded:: 2.0 + + .. attribute:: auto + + Represents auto camera video quality. + + .. attribute:: full + + Represents full camera video quality. + Async Iterator ---------------- @@ -2482,6 +2498,23 @@ AuditLogDiff :type: :class:`int` + .. attribute:: rtc_region + + The region for the voice channel’s voice communication. + A value of ``None`` indicates automatic voice region detection. + + See also :attr:`VoiceChannel.rtc_region`. + + :type: :class:`VoiceRegion` + + .. attribute:: video_quality_mode + + The camera video quality for the voice channel's participants. + + See also :attr:`VoiceChannel.video_quality_mode`. + + :type: :class:`VideoQualityMode` + .. this is currently missing the following keys: reason and application_id I'm not sure how to about porting these -- cgit v1.2.3