You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
356 B
TypeScript
14 lines
356 B
TypeScript
5 years ago
|
import { LokiPublicChannelAPI } from './loki_app_dot_net_api';
|
||
|
|
||
|
declare class LokiPublicChatFactoryAPI {
|
||
|
constructor(ourKey: string);
|
||
|
findOrCreateServer(url: string): Promise<void>;
|
||
|
findOrCreateChannel(
|
||
|
url: string,
|
||
|
channelId: number,
|
||
|
conversationId: string
|
||
|
): Promise<LokiPublicChannelAPI>;
|
||
|
}
|
||
|
|
||
|
export default LokiPublicChatFactoryAPI;
|