VoiceChannelAction¶
Inherits: ChannelAction < DiscordRESTAction < Reference < Object
Inherited By: VoiceChannelCreateAction, VoiceChannelEditAction
Description¶
Abstract action for guild voice channels.
Methods¶
return type | signature |
---|---|
Guild.BaseGuildVoiceChannel | submit ( ) coroutine |
VoiceChannelAction | set_bitrate ( int bitrate ) |
VoiceChannelAction | user_limit ( int limit ) |
VoiceChannelAction | set_rtc_region ( String region ) |
VoiceChannelAction | set_video_quality ( int mode ) |
VoiceChannelAction | as_stage ( bool value ) |
Constants¶
-
int MIN_BITRATE = 8000
Minimum bitrate value.
Method Descriptions¶
-
Guild.BaseGuildVoiceChannel submit ( ) coroutine
Executes the action.
-
VoiceChannelAction set_bitrate ( int bitrate )
Sets the bitrate (in bits) of a voice or stage channel.
-
VoiceChannelAction user_limit ( int limit )
Sets the user limit in the channel.
-
VoiceChannelAction set_rtc_region ( String region )
Sets the voice RTC region.
-
VoiceChannelAction set_video_quality ( int mode )
Sets the camera video quality mode. Check
VoiceChannel.VideoQualityModes
.
-
VoiceChannelAction as_stage ( bool value )
Whether the channel should be a stage voice channel.