UNPKG

livelists-node-js

Version:
10 lines (9 loc) 450 B
import { ICreateChannelArgs } from '../types/channel.types'; import { IClientArgs } from '../types/common.types'; import { Channel } from '../proto/channel'; import BaseService from './BaseService'; export declare class ChannelClient extends BaseService { private readonly rpc; constructor({ apiHost, apiKey, secretKey, }: IClientArgs); createChannel({ identifier, maxParticipants, customData, }: ICreateChannelArgs): Promise<Channel>; }