pub fn send_typing(&self, channel_id: &str) -> Result<usize, Error> {
        let n = self.get_msg_uid();
        let mstr = format!(r#"{{"id": {}, "type": "typing", "channel": "{}"}}"#,
                           n,
                           channel_id);

        self.send(&mstr)
            .map_err(|err| Error::Internal(format!("{:?}", err)))?;
        Ok(n)
    }
/// Marks connected client as being typing to a channel
/// This is mostly used to signal to other peers that a message
/// is being typed. Will have the server send a "user_typing" message to all the
/// peers.
/// Slack doc can be found at https://api.slack.com/rtm under "Typing Indicators"
///
/// `channel_id` is the slack channel id, e.g. `UXYZ1234`, not `#general`.
Marks connected client as being typing to a channel
This is mostly used to signal to other peers that a message
is being typed. Will have the server send a "user_typing" message to all the
peers.

`channel_id` is the slack channel id, e.g.
Marks connected client as being typing to a channel This is mostly used to signal to other peers that a message is being typed . Will have the server send a " user_typing " message to all the peers . ` channel_id ` is the slack channel id e . g .
pub fn send_typing(&self, channel_id: &str) -> Result<usize, Error> {
        let n = self.get_msg_uid();
        let mstr = format!(r#"{{"id": {}, "type": "typing", "channel": "{}"}}"#,
                           n,
                           channel_id);
        self.send(&mstr)
            .map_err(|err| Error::Internal(format!("{:?}", err)))?;
        Ok(n)
    }
pub fn send_typing ( & self , channel_id : & str ) -> Result < usize , Error > { let n = self . get_msg_uid ( ) ; let mstr = format ! ( r#"{{"id": {}, "type": "typing", "channel": "{}"}}"# n channel_id ) ; self . send ( & mstr ) . map_err ( | err | Error :: Internal ( format ! ( " " err ) ) ) ? ; Ok ( n ) }
Marks connected client as being typing to a channel
This is mostly used to signal to other peers that a message
is being typed.
Marks connected client as being typing to a channel This is mostly used to signal to other peers that a message is being typed .
&self
channel_id
&str
&self
channel_id
&str