aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorz03h <[email protected]>2021-04-17 05:10:41 -0700
committerGitHub <[email protected]>2021-04-17 08:10:41 -0400
commit304229071f4128c91ceeff7a6727fe2c83568b98 (patch)
tree68b3a25e562c900988a58bee69491614b6e35f30 /docs
parentRefactor save() and read() into AssetMixin (diff)
downloaddiscord.py-304229071f4128c91ceeff7a6727fe2c83568b98.tar.xz
discord.py-304229071f4128c91ceeff7a6727fe2c83568b98.zip
Add VoiceChannel.video_quality_mode
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst33
1 files changed, 33 insertions, 0 deletions
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