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.
		
		
		
		
		
			
		
			
				
	
	
		
			23 lines
		
	
	
		
			613 B
		
	
	
	
		
			TypeScript
		
	
			
		
		
	
	
			23 lines
		
	
	
		
			613 B
		
	
	
	
		
			TypeScript
		
	
| import {
 | |
|   LokiAppDotNetServerInterface,
 | |
|   LokiPublicChannelAPI,
 | |
| } from './loki_app_dot_net_api';
 | |
| 
 | |
| export interface LokiPublicChatFactoryInterface {
 | |
|   ourKey: string;
 | |
|   findOrCreateServer(url: string): Promise<LokiAppDotNetServerInterface | null>;
 | |
|   findOrCreateChannel(
 | |
|     url: string,
 | |
|     channelId: number,
 | |
|     conversationId: string
 | |
|   ): Promise<LokiPublicChannelAPI | null>;
 | |
|   getListOfMembers(): Promise<Array<{ authorPhoneNumber: string }>>;
 | |
| }
 | |
| 
 | |
| declare class LokiPublicChatFactoryAPI
 | |
|   implements LokiPublicChatFactoryInterface {
 | |
|   constructor(ourKey: string);
 | |
| }
 | |
| 
 | |
| export default LokiPublicChatFactoryAPI;
 |