UNPKG

n8n

Version:

n8n Workflow Automation Tool

13 lines (12 loc) 716 B
import type { Thread } from 'chat'; import type { BridgeExecutionContext, BridgeMessageContextParams, BridgeResumeExecutionContext, BridgeStatusHandle } from '../agent-chat-integration'; export declare function createTelegramBridgeExecutionContext(params: BridgeMessageContextParams): BridgeExecutionContext; export declare function createTelegramResumeExecutionContext(params: { thread: Thread<unknown, unknown>; logger: BridgeMessageContextParams['logger']; agentId: string; }): BridgeResumeExecutionContext; export declare function startTelegramTypingIndicator(thread: Thread<unknown, unknown>, options: { logger: BridgeMessageContextParams['logger']; agentId: string; }): BridgeStatusHandle;