Struct discord::EditChannel
[−]
[src]
pub struct EditChannel(_);
Patch content for the edit_channel
call.
Methods
impl EditChannel
[src]
fn name(self, name: &str) -> Self
Edit the channel's name.
fn topic(self, topic: &str) -> Self
Edit the text channel's topic.
fn position(self, position: u64) -> Self
Edit the channel's position in the list.
fn bitrate(self, bitrate: u64) -> Self
Edit the voice channel's bitrate.
fn user_limit(self, user_limit: u64) -> Self
Edit the voice channel's user limit. Both None
and Some(0)
mean "unlimited".