pub async fn close_channel(&self, channel_id: ChannelId) -> Result {
        self.client
            .delete(ep!(self, "/channels/{}" channel_id))
            .send()
            .await?
            .error_for_status()?;

        Ok(())
    }
/// Closes a channel / leaves group
Closes a channel / leaves group
Closes a channel / leaves group
pub async fn close_channel(&self, channel_id: ChannelId) -> Result {
        self.client
            .delete(ep!(self, "/channels/{}" channel_id))
            .send()
            .await?
            .error_for_status()?;
        Ok(())
    }
pub async fn close_channel ( & self , channel_id : ChannelId ) -> Result { self . client . delete ( ep ! ( self " " channel_id ) ) . send ( ) . await ? . error_for_status ( ) ? ; Ok ( ( ) ) }
Closes a channel / leaves group
Closes a channel / leaves group
&self
channel_id
ChannelId
&self
channel_id
ChannelId