UNPKG

imessage-ts

Version:

TypeScript library for interacting with iMessage on macOS - send messages, monitor chats, and automate responses

24 lines 618 B
export interface IMessageServerConfig { port?: number; webhookUrl?: string; whitelistedSenders?: string[]; autoRespond?: boolean; wittyResponses?: string[]; saveReceivedImages?: boolean; imagesSaveDir?: string; apiKey?: string; tempAttachmentsDir?: string; } export declare class IMessageServer { private app; private client; private config; private server; constructor(config?: IMessageServerConfig); private sendWebhook; private setupRoutes; private handleMessage; start(): Promise<void>; stop(): void; } //# sourceMappingURL=index.d.ts.map