4chan-full
Version:
www.4chan.org non-official read only api. That supports cool things!
41 lines (28 loc) • 671 B
JavaScript
const { Reply } = require("./Reply");
const { File } = require("./File");
const { BoardInfo } = require("./BoardInfo");
const { MessageContent } = require("./MessageContent");
const { Country } = require("./Country");
class Thread {
/** @type {BoardInfo} */
boardInfo;
/** @type {String} */
id;
/** @type {String} */
url;
/** @type {String} */
subject;
/** @type {MessageContent} */
message;
/** @type {Date} */
date;
/** @type {Array<Reply>} */
replies;
/** @type {File?} */
file;
/** @type {Boolean} */
archived;
/** @type {Country?} */
country;
}
module.exports = { Thread };