UNPKG

@warriorteam/zalo-personal

Version:

Unofficial Zalo Personal API for JavaScript - A powerful library for interacting with Zalo personal accounts with URL attachment support, auto-reply, product catalog, and business features

21 lines (20 loc) 645 B
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<"">;