import { ChatActionInputUnion } from '../inputs'; import { ErrorUnion, OkUnion } from '../outputs'; /** * Sends a notification about user activity in a chat * @param {Object} params * @param {number} [params.chatId] - Chat identifier * @param {ChatActionInputUnion} [params.action] - The action description * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type SendChatActionMethod = (params: SendChatActionParams, state?: Record) => Promise; export interface SendChatActionParams { /** Chat identifier */ chatId?: number; /** The action description */ action?: ChatActionInputUnion; }