mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
[types] VoiceChannel and StageChannel bitrate/user_limit is not null
This commit is contained in:
parent
485542c480
commit
eda02c2e91
@ -78,13 +78,13 @@ VideoQualityMode = Literal[1, 2]
|
||||
|
||||
class _VoiceChannelOptional(TypedDict, total=False):
|
||||
rtc_region: Optional[str]
|
||||
bitrate: int
|
||||
user_limit: int
|
||||
video_quality_mode: VideoQualityMode
|
||||
|
||||
|
||||
class VoiceChannel(_BaseGuildChannel, _VoiceChannelOptional):
|
||||
type: Literal[2]
|
||||
bitrate: int
|
||||
user_limit: int
|
||||
|
||||
|
||||
class CategoryChannel(_BaseGuildChannel):
|
||||
@ -97,13 +97,13 @@ class StoreChannel(_BaseGuildChannel):
|
||||
|
||||
class _StageChannelOptional(TypedDict, total=False):
|
||||
rtc_region: Optional[str]
|
||||
bitrate: int
|
||||
user_limit: int
|
||||
topic: str
|
||||
|
||||
|
||||
class StageChannel(_BaseGuildChannel, _StageChannelOptional):
|
||||
type: Literal[13]
|
||||
bitrate: int
|
||||
user_limit: int
|
||||
|
||||
|
||||
class _ThreadChannelOptional(TypedDict, total=False):
|
||||
|
Loading…
x
Reference in New Issue
Block a user