---
title: "channel_topic message"
summary: "A channel topic was updated"
url: "https://docs.slack.dev/reference/events/message/channel_topic"
type: "reference"
subtype: "event"
---

Source: https://docs.slack.dev/reference/events/message/channel_topic

# channel_topic message

### A channel topic was updated

## Facts

**Required Scopes**

No scopes required!

**Compatible APIs**

[`Events`](https://docs.slack.dev/apis/events-api.md)

[`RTM`](https://docs.slack.dev/legacy/legacy-rtm-api.md)

## Usage info {#usage-info}

This example includes both the [event wrapper](https://docs.slack.dev/apis/events-api.md#callback-field) and the [event structure](https://docs.slack.dev/apis/events-api.md#event-type-structure) for the `channel_topic` message subtype event.

```json
{
    "token": "XXYYZZ",
    "team_id": "T123ABC456",
    "api_app_id": "A123ABC456",
    "event": {
        "type": "message",
        "subtype": "channel_topic",
        "ts": "1358877455.000010",
        "user": "U2147483828",
        "topic": "hello world",
        "text": "<@U2147483828|cal> set the channel topic: hello world"
    },
    "type": "event_callback",
    "authorizations": [
        {
            "team_id": "T123ABC456",
            "user_id": "U123ABC456",
            "is_bot": false,
            "is_enterprise_install": false,
        }
    ],
    "event_id": "Ev123ABC456",
    "event_time": 123456789
}
```

A `channel_topic` message is sent when the topic for a channel is changed.
