@warriorteam/zalo-personal
Version:
Unofficial Zalo Personal API for JavaScript - A powerful library for interacting with Zalo personal accounts with URL attachment support
18 lines (17 loc) • 585 B
TypeScript
import { ThreadType } from "../models/index.js";
export type SetMuteParams = {
duration?: MuteDuration | number;
action?: MuteAction;
};
export type SetMuteResponse = "";
export declare const enum MuteDuration {
ONE_HOUR = 3600,
FOUR_HOURS = 14400,
FOREVER = -1,
UNTIL_8AM = "until8AM"
}
export declare const enum MuteAction {
MUTE = 1,
UNMUTE = 3
}
export declare const setMuteFactory: (ctx: import("../context.js").ContextBase, api: import("../zalo.js").API) => (params: SetMuteParams | undefined, threadID: string, type?: ThreadType) => Promise<"">;