[types] VoiceChannel and StageChannel bitrate/user_limit is not null

This commit is contained in:
Rapptz 2021-06-29 02:45:01 -04:00
parent 485542c480
commit eda02c2e91

View File

@ -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):