Interface CommentOperation

Generic operation.

interface CommentOperation {
    0: "comment";
    1: {
        author: string;
        body: string;
        json_metadata: string;
        parent_author: string;
        parent_permlink: string;
        permlink: string;
        title: string;
    };
}

Hierarchy (view full)

Properties

0 1

Properties

0
1: {
    author: string;
    body: string;
    json_metadata: string;
    parent_author: string;
    parent_permlink: string;
    permlink: string;
    title: string;
}

Type declaration

  • author: string

    author of the post/comment being submitted (account name).

  • body: string

    body of the post/comment being submitted, or diff-match-patch when updating.

  • json_metadata: string

    JSON object string.

  • parent_author: string

    the author that comment is being submitted to, when posting a new blog this is an empty string.

  • parent_permlink: string

    specific post that comment is being submitted to, when posting a new blog this become the category of the post (tags[0]).

  • permlink: string

    unique string identifier for the post, linked to the author of the post.

  • title: string

    human readable title of the post being submitted, this is often blank when commenting.