Go to Slack

file_public event

A file was made public

Compatibility: RTM Events API

Scopes: files:read


{
    "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.