diff --git a/src/adapters/telegram/types.ts b/src/adapters/telegram/types.ts index 0b64b05..3adf5a8 100644 --- a/src/adapters/telegram/types.ts +++ b/src/adapters/telegram/types.ts @@ -1,3 +1,5 @@ +import type { Session } from "../../core/session.js"; + export interface TelegramChannelConfig { enabled: boolean botToken: string @@ -5,3 +7,9 @@ export interface TelegramChannelConfig { notificationTopicId: number | null assistantTopicId: number | null } + +export interface CommandsAssistantContext { + topicId: number; + getSession: () => Session | null; + respawn: () => Promise; +}