lemmy-js-client
    Preparing search index...

    Type Alias GetComments

    Get a list of comments.

    type GetComments = {
        community_id?: CommunityId;
        community_name?: string;
        limit?: number;
        max_depth?: number;
        page_back?: boolean;
        page_cursor?: PaginationCursor;
        parent_id?: CommentId;
        post_id?: PostId;
        sort?: CommentSortType;
        time_range_seconds?: number;
        type_?: ListingType;
    }
    Index

    Properties

    community_id?: CommunityId
    community_name?: string
    limit?: number
    max_depth?: number
    page_back?: boolean
    page_cursor?: PaginationCursor
    parent_id?: CommentId

    Optionalpost_id

    post_id?: PostId
    time_range_seconds?: number

    Filter to within a given time range, in seconds. IE 60 would give results for the past minute.

    type_?: ListingType