Go to Slack

file_shared event

Compatibility: RTM Events API

Events API Scope: files:read

A file was shared

    "type": "file_shared",
    "file": { … }

The file_shared event is sent when a file is shared. It is sent to all connected clients for all users that have permission to see the file. The file property is a file object containing information about the uploaded file.

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.

file_shared requires the files:read OAuth permission scope.