Function slack_api::pins::add [] [src]

pub fn add<R>(client: &R,
              token: &str,
              request: &AddRequest)
              -> Result<AddResponse, AddError<R::Error>> where R: SlackWebRequestSender

Pins an item to a channel.

Wraps https://api.slack.com/methods/pins.add