togezr
Version:
Better together_
17 lines • 830 B
TypeScript
import { TSlackChannel } from '../interfaces/TSlackChannel';
import { ISessionEvent } from '../sessionConnectors/renderer/events';
import { ChannelSession, IChannelMementoRecord } from './ChannelSession';
export declare class SlackChannelSession extends ChannelSession {
channel: TSlackChannel;
siblingChannels: ChannelSession[];
sessionId?: string | undefined;
private messageTs?;
constructor(channel: TSlackChannel, siblingChannels: ChannelSession[], sessionId?: string | undefined);
onEvent(e: ISessionEvent): Promise<void>;
private updateSlackComment;
private addSlackReplyOnComment;
private getChannelId;
readExistingRecord(): IChannelMementoRecord | null;
onPersistData: (record: IChannelMementoRecord) => IChannelMementoRecord;
}
//# sourceMappingURL=SlackChannelSession.d.ts.map