UNPKG

@apillon/sdk

Version:

▶◀ Apillon SDK for NodeJS ▶◀

33 lines 991 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SocialChannel = void 0; const apillon_1 = require("../../lib/apillon"); class SocialChannel extends apillon_1.ApillonModel { constructor(uuid, data) { super(uuid); /** * Channel ID on Subsocial chain. This ID is used in widget. */ this.channelId = null; /** * Channel status (1: draft - deploying to chain, 5: active, 100: error). */ this.status = null; /** * Name of the channel. */ this.title = null; /** * Short description or content of the channel. */ this.body = null; /** * Comma separated tags associated with the channel. */ this.tags = null; this.API_PREFIX = `/social/channels/${uuid}`; this.populate(data); } } exports.SocialChannel = SocialChannel; //# sourceMappingURL=social-channel.js.map