UNPKG

@amelix/phoenix.js

Version:

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

12 lines (11 loc) 412 B
import Base from "./Base"; import { Client } from "./Client"; import { AnyServerChannel } from "./ServerChannel"; export type AnyChannel = AnyServerChannel; /** The foundation of all Phoenix channels. */ export default class Channel extends Base { name: string; /** Currently, all Phoenix channels are standard text channels. */ type: "text"; constructor(client: Client, data: any); }