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.
5 lines (4 loc) • 328 B
TypeScript
import type { API } from 'zca-js';
import { GetHistoryParams, ChatHistoryResult, ParsedMessage } from './types';
export declare function pickNextCursors(messages: ParsedMessage[]): string[];
export declare function getChatHistory(api: API, params: GetHistoryParams, listener: any, timeout?: number): Promise<ChatHistoryResult>;