UNPKG

airship-server

Version:

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

23 lines 634 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const BotOutputMessageContent_1 = require("./BotOutputMessageContent"); class StickerContent extends BotOutputMessageContent_1.BotOutputMessageContent { constructor(photo) { super(); this._photo = photo; } get photo() { return this._photo; } serialize() { return { type: 'sticker', photo: this._photo }; } static deserialize(raw) { return new StickerContent(raw['photo']); } } exports.default = StickerContent; //# sourceMappingURL=StickerContent.js.map