UNPKG

@amelix/phoenix.js

Version:

A feature-rich API wrapper for the critically acclaimed chatting app Phoenix.. or something.

13 lines (12 loc) 367 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Base_1 = require("./Base"); /** The foundation of all Phoenix channels. */ class Channel extends Base_1.default { constructor(client, data) { super(client, data); this.name = data.name; this.type = data.type; } } exports.default = Channel;