A file comment was added

Facts

Required scopes

Works with

RTMEvents API

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.

When an event occurs, we will send an HTTP POST request to your Request URL. The outer payload is uniform across all Events API methods, and contains fields like team_id and event. Learn more