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