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

group_name message event

A group was renamed

Compatibility: RTM


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

A channel_name message is sent when a private group is renamed.