Go to Slack

file_comment_added event

Compatibility: RTM Events API

Events API Scope: files:read


A file comment was added

{
    "type": "file_comment_added",
    "file": { … },
    "comment": { … }
}

The file_comment_added event is sent when a comment is added to file. It is sent to all connected clients for users who can see the file. Clients can use this notification to show comments in real-time for open files.

The file property is a file object.

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_comment_added requires the files:read OAuth permission scope.