channel_created event
A channel was created
Facts
Required Scopes
Usage info
This example includes both the event wrapper and the event structure for the channel_created event.
{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "channel_created",
"channel": {
"id": "C024BE91L",
"name": "fun",
"created": 1360782804,
"creator": "U024BE7LH"
}
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}
The channel_created event is sent to all connections for a workspace when a new channel is created. Clients can use this to update their local cache of
non-joined channels.