mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 18:33:02 +00:00
Add VoiceChannel.video_quality_mode
This commit is contained in:
33
docs/api.rst
33
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
|
||||
|
||||
|
Reference in New Issue
Block a user