Search

Rename Conversation

Articles

Use this function to rename a conversation in the slack application with the given new name.

Syntax

Rename Conversation (token, channel_id, new_name)

Parameters

Input Parameter Name Description
token Authentication token
channel_id ID of the channel to rename
new_name Name of the channel to be given

Returns

Return Value Description
Output
  • On Success: 1, Conversation Renamed Successfully
  • On Failure: 0, Error Message

Sample

Rename Conversation (ABCDE, NC-45, New Converstation)

  • Uses the token ‘ABCDCEF’ to authenticate the connection to the Slack application, remanes a the channel ‘Channel’ with the new name ‘New Channel’.
    Returns ‘Conversation Renamed Successfully’ on renaming the channel.

To view all the Slack functions, click here.

Did you find what you were looking for?