fix(telegram): remove unused draft stream helper

This commit is contained in:
Vincent Koc
2026-04-30 06:19:08 -07:00
parent ad7fa6c387
commit f3145f6db8

View File

@@ -43,14 +43,6 @@ async function expectInitialForumSend(
);
}
function expectDmMessagePreviewViaSendMessage(
api: ReturnType<typeof createMockDraftApi>,
text = "Hello",
): void {
expect(api.sendMessage).toHaveBeenCalledWith(123, text, { message_thread_id: 42 });
expect(api.editMessageText).not.toHaveBeenCalled();
}
function createForceNewMessageHarness(params: { throttleMs?: number } = {}) {
const api = createMockDraftApi();
api.sendMessage