UNPKG

@ginstone/nga-api

Version:

54 lines (53 loc) 1.06 kB
import { ReplyStatus } from "../../enums/ReplyStatus"; /** * 简单回复信息 */ export declare class ReplySimple { /** * 作者uid */ readonly authorUid?: number; /** * 正文 */ readonly content?: string; /** * 回复id */ readonly replyId?: number; /** * 引用或回复的id */ readonly replyToId?: number; /** * 发布时间 */ readonly postDatetime?: Date; /** * 标题 */ readonly title?: string | null; /** * 主题id */ readonly topicId?: number; /** * 回复状态 */ readonly status?: ReplyStatus; /** * 由正文解析得到的树形节点结构 */ readonly contentNodes: import("../../bbscode/BbsTag").BbsTag[] | undefined; constructor(raw: ReplySimpleRaw); } export interface ReplySimpleRaw { authorid?: number; content?: string; pid?: number; reply_to?: number; postdate?: number | string; subject?: string; tid?: number; type?: number; }