Slack.Web.Channels.rename
You're seeing just the function
rename, go back to Slack.Web.Channels module for more information.
Renames a channel.
Required Params
channel- Channel to renamename- New name for channel.
Errors the API can return:
channel_not_found- Value passed forchannelwas invalid.invalid_name- New name is invalidname_taken- New channel name is takennot_authorized- Caller cannot rename this channelnot_in_channel- Caller is not a member of the channel.