update lại thư mục cấu trúc mới của server nodejs và python
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
import { ThreadType } from "../models/index.js";
|
||||
export type DeleteChatResponse = {
|
||||
status: number;
|
||||
};
|
||||
export type DeleteChatLastMessage = {
|
||||
/**
|
||||
* Last message owner ID to delete backwards
|
||||
*/
|
||||
ownerId: string;
|
||||
/**
|
||||
* Last message client ID to delete backwards
|
||||
*/
|
||||
cliMsgId: string;
|
||||
/**
|
||||
* Last message global ID to delete backwards
|
||||
*/
|
||||
globalMsgId: string;
|
||||
};
|
||||
export declare const deleteChatFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (lastMessage: DeleteChatLastMessage, threadId: string, type?: ThreadType) => Promise<DeleteChatResponse>;
|
||||
Reference in New Issue
Block a user