UNPKG

n8n-nodes-zalo-nnt

Version:

Unofficial Zalo integration for n8n - Send messages, manage groups, user operations with QR login. No API key required, works via browser simulation.

42 lines (41 loc) 895 B
export interface AttachmentConfig { type: 'url' | 'urlArray' | 'localPath' | 'localPaths'; imageUrl?: string; imageUrls?: string; filePath?: string; filePaths?: string; } export interface MentionConfig { uid: string; pos: number; len: number; } export interface QuoteConfig { msgId: string; uidFrom: string; content: string; cliMsgId: string; ts: string; msgType?: string; ttl?: number; } export interface StyleConfig { start: number; len: number; st: string; indentSize?: number; } export interface MessageContentParams { message: string; urgency?: number; ttl?: number; quote?: QuoteConfig; mentions?: MentionConfig[]; styles?: StyleConfig[]; attachments?: string[]; } export interface ProcessedAttachment { downloadedFiles: string[]; localFiles: string[]; errors: string[]; }