You must enable javascript in order to use the Slack API Documentation. You can do this in your browser settings.
Go to Slack

channel_name message event

A channel was renamed

Compatibility: RTM


{
    "type": "message",
    "subtype": "channel_name",
    "ts": "1358877455.000010",
    "user": "U2147483828",
    "old_name": "random",
    "name": "watercooler",
    "text": "<@U2147483828|cal> has renamed the channek from \"random\" to \"watercooler\""
}

A channel_name message is sent when a channel is renamed.