update lại thư mục cấu trúc mới của server nodejs và python
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
import { ThreadType, Reactions } from "../models/index.js";
|
||||
export type AddReactionResponse = {
|
||||
msgIds: number[];
|
||||
};
|
||||
export type CustomReaction = {
|
||||
rType: number;
|
||||
source: number;
|
||||
icon: string;
|
||||
};
|
||||
export type AddReactionDestination = {
|
||||
data: {
|
||||
msgId: string;
|
||||
cliMsgId: string;
|
||||
};
|
||||
threadId: string;
|
||||
type: ThreadType;
|
||||
};
|
||||
export declare const addReactionFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (icon: Reactions | CustomReaction, dest: AddReactionDestination) => Promise<AddReactionResponse>;
|
||||
Reference in New Issue
Block a user