Skip to main content

set_topic

Function set_topic 

Source
pub fn set_topic<R>(
    client: &R,
    token: &str,
    request: &SetTopicRequest<'_>,
) -> Result<SetTopicResponse, SetTopicError<<R as SlackWebRequestSender>::Error>>
Expand description

Sets the topic for a channel.

Wraps https://api.slack.com/methods/channels.setTopic