SlackWeb.Channels.rename
You're seeing just the function
rename
, go back to SlackWeb.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 forchannel
was 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.