@nguyennhuy/zalo-api
Version:
Unofficial Zalo API for JavaScript
12 lines (11 loc) • 470 B
TypeScript
import type { QuickMessage, AttachmentSource } from "../models/index.js";
export type AddQuickMessagePayload = {
keyword: string;
title: string;
media?: AttachmentSource;
};
export type AddQuickMessageResponse = {
item: QuickMessage;
version: number;
};
export declare const addQuickMessageFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (addPayload: AddQuickMessagePayload) => Promise<AddQuickMessageResponse>;