Content attached to the Comment
Payload of the Comment
Private
#authorThe author of the comment
Private
Readonly
#clientClient instance attached to the Object
Private
#contentThe content of the comment
Private
#endpointEndpoint url the object will request to
Private
#payloadThe payload of the object.
Author of the Comment
creator
const author = comment.author; // SimpleUser
const user = await author.user(); // Full User
Content ID the comment is attached to
Author of the Comment
author
const author = comment.author; // SimpleUser
const user = await author.user(); // Full User
Returns the date when the comment was created.
The comment's date as a Date
object.
Protected
endpointEndpoint url for requests to update the payload
The unique id of the object
Whether the comment has been edited.
True if the comment has been edited, false otherwise.
Whether the comment is a reply to another comment.
True if the comment is a reply, false otherwise.
Whether the comment has been smiled by the user.
True if the comment has been smiled, false otherwise.
Whether the user has un-smiled the comment.
True if the comment has been un-smiled, false otherwise.
The number of the comment.
The number of the comment.
The state of the comment.
The state of the comment, or null if the state is not available.
The text of the Comment. Can be an empty string
Protected
_cloneProtected
getGets the value from the payload from its key
The key to get the value of
Generated using TypeDoc
Represents a Comment on iFunny