file_comment_added event

A file comment was added

Compatibility: RTM Events API

Expected scopes:

This event is no longer served. File comments have been phased out in favor of regular messages and threads—read our changelog entry for more information.

{
    "type": "file_comment_added",
    "comment": { … },
    "file_id": "F2147483862",
    "file": {
        "id": "F2147483862"
    }
}

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 includes the file ID, as well as a top-level file_id. To obtain additional information about the file, use the files.info API method.

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.