livelists-node-js
Version:
node.js server sdk for livelists
17 lines (16 loc) • 445 B
TypeScript
import { ChannelParticipantGrants } from '../proto/participant';
export interface IChannelParticipantArgs {
apiHost: string;
apiKey: string;
secretKey: string;
}
export interface IAddParticipantToChannelArgs {
channelId: string;
identifier: string;
grants: ChannelParticipantGrants;
customData?: Record<string, string>;
}
export interface IGetChannelAccessTokenArgs {
identifier: string;
channelId: string;
}