update lại thư mục cấu trúc mới của server nodejs và python
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
import { ThreadType } from "../models/index.js";
|
||||
export type SetMuteParams = {
|
||||
/**
|
||||
* Mute duration in seconds or predefined durations
|
||||
*/
|
||||
duration?: MuteDuration | number;
|
||||
action?: MuteAction;
|
||||
};
|
||||
export type SetMuteResponse = "";
|
||||
export declare enum MuteDuration {
|
||||
ONE_HOUR = 3600,
|
||||
FOUR_HOURS = 14400,
|
||||
FOREVER = -1,
|
||||
UNTIL_8AM = "until8AM"
|
||||
}
|
||||
export declare enum MuteAction {
|
||||
MUTE = 1,
|
||||
UNMUTE = 3
|
||||
}
|
||||
export declare const setMuteFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (params: SetMuteParams | undefined, threadID: string, type?: ThreadType) => Promise<"">;
|
||||
Reference in New Issue
Block a user