UNPKG

stackexchange-api

Version:
20 lines (19 loc) 805 B
import { OriginalQuestion } from './OriginalQuestion'; import { ShallowUser } from './ShallowUser'; import { TypeClosedDetails } from '../interfaces/result-types/TypeClosedDetails'; /** * The equivalent of [Type closed_details](https://api.stackexchange.com/docs/types/closed-details).<br> * This object represents details about a [[Question]] closure. * This object is mostly analogous "gray box" that appears below closed and on hold [[Question|Questions]]. */ export declare class ClosedDetails { byUsers: ShallowUser[] | null; description: string | null; onHold: boolean | null; /** * *May be absent, in which case it is set to `null`* */ originalQuestions: OriginalQuestion[] | null; reason: string | null; constructor(closed_details?: TypeClosedDetails); }