im_history_changed event
Bulk updates were made to a DM's history
Facts
Required Scopes
Usage info
This example includes both the event wrapper and the event structure for the im_history_changed event.
{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "im_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 im_history_changed event is sent to all clients in a DM channel When
bulk changes have occurred to that DM channel's history. When clients receive
this message they should reload chat history for the channel if they have any
cached messages before latest.
These bulk changes may be the result of data importation or bulk action taken by an administrator.