refactor(telegram): add CommandsAssistantContext to types

This commit is contained in:
0xmrpeter 2026-03-22 12:52:16 +07:00
parent fddc2b0233
commit cdf8a4c82c

View File

@ -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<void>;
}