stackexchange-api
Version:
A Node.js wrapper for the StackExchange API
16 lines (15 loc) • 572 B
TypeScript
import { TypeRelatedSite } from '../interfaces/result-types/TypeRelatedSite';
/**
* The equivalent of [Type related_site](https://api.stackexchange.com/docs/types/related-site).<br>
* This object represents a [[Site]] that is related in some way to another [[Site]].
*/
export declare class RelatedSite {
/**
* *May be absent, in which case it is set to `null`*
*/
apiSiteParameter: string | null;
name: string | null;
relation: 'parent' | 'meta' | 'chat' | null;
siteUrl: string | null;
constructor(related_site?: TypeRelatedSite);
}