Add VoiceChannel.video_quality_mode

This commit is contained in:
z03h
2021-04-17 05:10:41 -07:00
committed by GitHub
parent fed259a83b
commit 304229071f
7 changed files with 85 additions and 3 deletions

View File

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