File Comment Reactions
A FileCommentReaction is a reaction that is attached to a comment on a file.
Create File Comment Reaction
SDK Method
filecommentreaction.Create()
Return Object
FileCommentReaction
Authorization Requirement
Available to all authenticated keys or sessions.
FileCommentReactionCreateParams Fields
| Field | Description |
|---|---|
| UserId int64 | User ID. Provide a value of 0 to operate the current session's user. |
| FileCommentId int64 Required | ID of file comment to attach reaction to. |
| Emoji string Required | Emoji to react with. |
Delete File Comment Reaction
SDK Method
filecommentreaction.Delete()
Return Object
No return value.
Authorization Requirement
Available to all authenticated keys or sessions.
FileCommentReactionDeleteParams Fields
| Field | Description |
|---|---|
| Id int64 Required | File Comment Reaction ID. |
The FileCommentReaction Object
Some of the methods above return a FileCommentReaction object. The attributes of this object are listed below.
| Attribute | Description |
|---|---|
| Id int64 | Reaction ID |
| Emoji string | Emoji used in the reaction. |