livelists-node-js
Version:
node.js server sdk for livelists
10 lines (9 loc) • 450 B
TypeScript
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>;
}