Constructor
# new Comment(data)
Model constructor
Parameters:
Name | Type | Description |
---|---|---|
data |
CommentLike
|
Classes
Members
'companies'
|
'files'
|
'projects'
|
'tasks'
# entityType
The type of the entity of the comment. Required.
String
# formattedMessage
The formatted and proccessed version of the comment message. E.g. mentions are in a human readable format. The formatted comment message is styled with html.
# mentions
A mention is the tag of a user on a specific comment, so the user is notified.
Boolean
# mentionsEveryUserHadPermissions
If every user was able to receive the mention notification. If not, one of the users had no permissions to.
String
# plainFormattedMessage
The formatted and proccessed version of the comment message. E.g. mentions are in a human readable format. The formatted comment message is not styled.
String
# userId
The id of the user who created the comment. If not set, defaults to the current user.