@towns-protocol/sdk
Version:
For more details, visit the following resources:
13 lines • 549 B
TypeScript
import { ObservableRecord } from '../../observable/observableRecord';
export interface DmStreamModel {
streamId: string;
firstPartyId?: string;
secondPartyId?: string;
lastEventCreatedAtEpochMs: bigint;
}
export declare class DmStreamsView extends ObservableRecord<string, DmStreamModel> {
constructor();
setParticipants(streamId: string, firstPartyId: string, secondPartyId: string): void;
setLastEventCreatedAtEpochMs(streamId: string, lastEventCreatedAtEpochMs: bigint): void;
}
//# sourceMappingURL=dmStreams.d.ts.map