@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
16 lines (15 loc) • 558 B
TypeScript
import type { AutoReplyItem, AutoReplyScope } from "../models/index.js";
export type UpdateAutoReplyPayload = {
id: number;
content: string;
isEnable: boolean;
startTime: number;
endTime: number;
scope: AutoReplyScope;
uids?: string | string[];
};
export type UpdateAutoReplyResponse = {
item: AutoReplyItem;
version: number;
};
export declare const updateAutoReplyFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (payload: UpdateAutoReplyPayload) => Promise<UpdateAutoReplyResponse>;