Interface CommentOptions

Defines the options of a Comment instance.

interface CommentOptions {
    author: null | Author;
    content: string;
    context: string[];
    date: null | Date;
    permalink: string | URL;
    postModified: null | Date;
    recheckReason: string;
    referrer: string | URL;
    type: string;
}

Properties

author: null | Author

The comment's author.

content: string

The comment's content.

context: string[]

The context in which this comment was posted.

date: null | Date

The UTC timestamp of the creation of the comment.

permalink: string | URL

The permanent location of the entry the comment is submitted to.

postModified: null | Date

The UTC timestamp of the publication time for the post, page or thread on which the comment was posted.

recheckReason: string

A string describing why the content is being rechecked.

referrer: string | URL

The URL of the webpage that linked to the entry being requested.

type: string

The comment's type.