pub async fn fetch_channel(&self, channel_id: ChannelId) -> Result<Channel> {
        Ok(self
            .client
            .get(ep!(self, "/channels/{}" channel_id))
            .send()
            .await?
            .error_for_status()?
            .json()
            .await?)
    }
/// Gets the channel given the id
Gets the channel given the id
Gets the channel given the id
pub async fn fetch_channel(&self, channel_id: ChannelId) -> Result<Channel> {
        Ok(self
            .client
            .get(ep!(self, "/channels/{}" channel_id))
            .send()
            .await?
            .error_for_status()?
            .json()
            .await?)
    }
pub async fn fetch_channel ( & self , channel_id : ChannelId ) -> Result < Channel > { Ok ( self . client . get ( ep ! ( self " " channel_id ) ) . send ( ) . await ? . error_for_status ( ) ? . json ( ) . await ? ) }
Gets the channel given the id
Gets the channel given the id
&self
channel_id
ChannelId
&self
channel_id
ChannelId