You're seeing just the function
set_purpose, go back to SlackWeb.Groups module for more information.
Sets the purpose for a private channel.
channel- Private channel to set the purpose of
purpose- The new purpose ex:
Errors the API can return:
channel_not_found- Value passed for
is_archived- Private group has been archived
too_long- Purpose was longer than 250 characters.
user_is_restricted- Setting the purpose is a restricted action.