/** * 猎聘聊天消息命令 - 招聘者端 * * 走 LPT 接口 com.liepin.im.b.chat.chat-list(抓包确认): * body: imUserType=2&imId=<自己imId>&imApp=1&oppositeImId=<对方imId>&maxMessageId=&pageSize=20 * resp: data.list[] { msgId, msgTime(ms), msgType, direction, payload(JSON), msgSendImId, ... } * 入参是对方 imId(chatlist 返回的 im_id),不是旧的 chatId。 */ import { Page } from 'puppeteer-core'; export interface ChatmsgOptions { oppositeImId: string; limit?: number; } export declare function chatmsg(page: Page, options: ChatmsgOptions): Promise; /** 聊天消息命令定义 */ export declare const chatmsgCommand: { name: string; description: string; args: ({ name: string; type: string; required: boolean; positional: boolean; help: string; default?: undefined; } | { name: string; type: string; default: number; help: string; required?: undefined; positional?: undefined; })[]; columns: { header: string; key: string; width: number; }[]; func: typeof chatmsg; }; //# sourceMappingURL=chatmsg.d.ts.map