UNPKG

@coko/server

Version:

Reusable server for use by Coko's projects

7 lines 593 B
import ChatMessage from './chatMessage.model'; import { TrxAndRelatedOptions, TrxOption } from '../base.model'; declare const sendMessage: (chatChannelId: string, content: string, userId: string, mentions?: any[], options?: TrxAndRelatedOptions) => Promise<ChatMessage>; declare const editMessage: (id: string, content: string, mentions?: string[], options?: TrxAndRelatedOptions) => Promise<ChatMessage>; declare const deleteMessage: (id: string, options?: TrxOption) => Promise<number>; export { sendMessage, editMessage, deleteMessage }; //# sourceMappingURL=chatMessage.controller.d.ts.map