@100mslive/hms-video-store
Version:
@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow
18 lines (17 loc) • 403 B
TypeScript
import { HMSRole } from './role';
import { HMSPeer } from '../sdk/models/peer';
export interface HMSMessageInput {
recipientPeer?: HMSPeer;
recipientRoles?: HMSRole[];
type?: string;
message: string;
}
export interface HMSMessage {
sender?: HMSPeer;
recipientPeer?: HMSPeer;
recipientRoles?: HMSRole[];
time: Date;
type?: string;
message: any;
id?: string;
}