SlackWeb.Groups.set_topic
You're seeing just the function
set_topic
, go back to SlackWeb.Groups module for more information.
Sets the topic for a private channel.
Required Params
channel
- Private channel to set the topic oftopic
- The new topic ex:My Topic
Errors the API can return:
channel_not_found
- Value passed forchannel
was invalid.is_archived
- Private group has been archivedtoo_long
- Topic was longer than 250 characters.user_is_restricted
- Setting the topic is a restricted action.