Go to Slack

file_public event

Compatibility: RTM Events API

Events API Scope: files:read


A file was made public

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

The file_public event is sent when a file is made public. 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 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_public requires the files:read OAuth permission scope.