channel_history_changed event
Bulk updates were made to a channel's history
Facts
Required Scopes
Usage info
This example includes both the event wrapper and the event structure for the channel_history_changed event.
{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "channel_history_changed",
"latest": "1358877455.000010",
"ts": "1361482916.000003",
"event_ts": "1361482916.000004"
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}
A channel_history_changed event is sent to all clients in a channel when
bulk changes have occurred to that channel's history. When clients receive this
message they should reload chat history for the channel if they have any
cached messages before latest.
This message is most often triggered as the result of a channel data import by a workspace administrator.