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

15 lines (14 loc) 535 B
import type { AttachmentSource } from "../models/index.js"; export type UploadProductPhotoPayload = { file: AttachmentSource; }; export type UploadProductPhotoResponse = { normalUrl: string; photoId: string; finished: number; hdUrl: string; thumbUrl: string; clientFileId: number; chunkId: number; }; export declare const uploadProductPhotoFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (payload: UploadProductPhotoPayload) => Promise<UploadProductPhotoResponse>;