Type Alias GetComments

GetComments: {
    community_id?: CommunityId;
    community_name?: string;
    disliked_only?: boolean;
    liked_only?: boolean;
    limit?: number;
    max_depth?: number;
    page?: number;
    parent_id?: CommentId;
    post_id?: PostId;
    sort?: CommentSortType;
    time_range_seconds?: number;
    type_?: ListingType;
}

Get a list of comments.

Type declaration

  • Optionalcommunity_id?: CommunityId
  • Optionalcommunity_name?: string
  • Optionaldisliked_only?: boolean
  • Optionalliked_only?: boolean
  • Optionallimit?: number
  • Optionalmax_depth?: number
  • Optionalpage?: number
  • Optionalparent_id?: CommentId
  • Optionalpost_id?: PostId
  • Optionalsort?: CommentSortType
  • Optionaltime_range_seconds?: number

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

  • Optionaltype_?: ListingType