fix: require thread specs for telegram sends

This commit is contained in:
Ayaan Zaidi
2026-02-02 09:05:36 +05:30
committed by Ayaan Zaidi
parent 19b8416a81
commit 1d7dd5f261
5 changed files with 22 additions and 20 deletions

View File

@@ -15,7 +15,7 @@ export function createTelegramDraftStream(params: {
chatId: number;
draftId: number;
maxChars?: number;
thread?: TelegramThreadSpec | number | null;
thread?: TelegramThreadSpec | null;
throttleMs?: number;
log?: (message: string) => void;
warn?: (message: string) => void;