UNPKG

airship-server

Version:

Airship is a framework for Node.JS & TypeScript that helps you to write big, scalable and maintainable API servers.

28 lines 777 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const BotOutputMessageContent_1 = require("./BotOutputMessageContent"); class WallContent extends BotOutputMessageContent_1.BotOutputMessageContent { constructor(ownerId, postId) { super(); this._ownerId = ownerId; this._postId = postId; } get ownerId() { return this._ownerId; } get postId() { return this._postId; } serialize() { return { type: 'wall', ownerId: this._ownerId, postId: this._postId }; } static deserialize(raw) { return new WallContent(raw['ownerId'], raw['postId']); } } exports.default = WallContent; //# sourceMappingURL=WallContent.js.map