Slack.Web.Groups.rename

You're seeing just the function rename, go back to Slack.Web.Groups module for more information.
Link to this function

rename(channel, name, optional_params \\ %{})

View Source

Renames a private channel.

Required Params

  • channel - Private channel to rename
  • name - New name for private channel.

Errors the API can return:

  • channel_not_found - Value passed for channel was invalid.
  • invalid_name - New name is invalid
  • name_taken - New channel name is taken