Actions53
- Channel Actions
- Direct Message Actions
- Message Actions
- User Actions
Channel → Rename
AI-generatedSummary
Rename a channel
Inputs
- roomId (required) — ID of the channel to rename
- newName (required) — New name for the channel
- channelType — Channel type: public channel or private group
- specifyRoomManually — Whether to manually provide the room ID
Output shape
a single record
Returns the updated channel object; errors are thrown unless continueOnFail is enabled
Examples
Example 1: Rename a public channel using the default UI
channelType = Public Channel, specifyRoomManually = false, roomId = selectedChannelId, newName = #General
Example 2: Rename a private group manually
channelType = Private Group, specifyRoomManually = true, roomId = privateGroupId, newName = #Announcements