UNPKG

zcatalyst-integ-cliq

Version:

Node.js SDK for integrating Zoho Catalyst with Zoho Cliq

31 lines (30 loc) 1.03 kB
/// <reference types="node" /> import { Access, Attachment, Chat, Environment, Location, Mention, MessageObject, User } from '../common.js'; import HandlerResponse from '../response-objects/handler-response.js'; interface MessageActionHandlerRequest { name: string; mentions: Array<Mention>; user: User; chat: Chat; environment: Environment; access: Access; message: MessageObject; attachments: Array<Attachment>; location: Location; } /** * @deprecated * - This file name had been misspelled. * - Exports from this file are deprecated. * - This file will also be removed in future. * * Use **message-action-handler.ts** instead. */ export default class MessageActionHandler { executionHandler(handler: (req: MessageActionHandlerRequest, res: HandlerResponse, ...args: Array<unknown>) => Promise<unknown>): void; newHandlerResponse(): HandlerResponse; util: { getAttachedFile(attachments: Array<Attachment>): Promise<Array<Buffer | undefined>>; }; } export {};