Go to Slack

im_history_changed event

Compatibility: RTM Events API

Events API Scope: im:history


Bulk updates were made to a DM's history

{
    "type": "im_history_changed",
    "latest": "1358877455.000010",
    "ts": "1361482916.000003",
    "event_ts": "1361482916.000004"
}

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.

Events API compatibility

Subscribe to this event via the Events API.

Events of this type will be wrapped in metadata when sent via the Events API.

im_history_changed requires the im:history OAuth permission scope.