lemmy-js-client
    Preparing search index...

    Type Alias Comment

    A comment.

    type Comment = {
        ap_id: DbUrl;
        child_count: number;
        content: string;
        creator_id: PersonId;
        deleted: boolean;
        distinguished: boolean;
        downvotes: number;
        federation_pending: boolean;
        id: CommentId;
        language_id: LanguageId;
        local: boolean;
        path: string;
        post_id: PostId;
        published_at: string;
        removed: boolean;
        report_count: number;
        score: number;
        unresolved_report_count: number;
        updated_at?: string;
        upvotes: number;
    }
    Index

    Properties

    ap_id: DbUrl

    The federated activity id / ap_id.

    child_count: number

    The total number of children in this comment branch.

    content: string
    creator_id: PersonId
    deleted: boolean

    Whether the comment has been deleted by its creator.

    distinguished: boolean

    Whether the comment has been distinguished(speaking officially) by a mod.

    downvotes: number
    federation_pending: boolean

    If a local user comments in a remote community, the comment is hidden until it is confirmed accepted by the community (by receiving it back via federation).

    language_id: LanguageId
    local: boolean

    Whether the comment is local.

    path: string

    The path / tree location of a comment, separated by dots, ending with the comment's id. Ex: 0.24.27

    post_id

    post_id: PostId
    published_at: string
    removed: boolean

    Whether the comment has been removed.

    report_count: number
    score: number
    unresolved_report_count: number
    updated_at?: string
    upvotes: number