osu-api-extended
Version:
Advanced osu! api wrapper cover all V2 and V1 endpoints, and provide useful tools
16 lines (15 loc) • 510 B
TypeScript
import { IDefaultParams, IError } from "../../types";
import { CommentsListResponse } from "../../types/v2/comments_list";
type Response = CommentsListResponse & IError;
export declare const comments_list: (params: {
type?: 'news_post' | 'beatmapset' | 'Build';
id?: string;
parent_id?: string;
after_id?: string;
cursor?: {
id: number;
created_at: string;
};
sort?: 'new' | 'old' | 'top';
}, addons?: IDefaultParams) => Promise<Response>;
export {};