diff --git a/src/telegram/send.test.ts b/src/telegram/send.test.ts index e39063c633f..7cd8b337c0e 100644 --- a/src/telegram/send.test.ts +++ b/src/telegram/send.test.ts @@ -1060,28 +1060,6 @@ describe("sendStickerTelegram", () => { } }); - it("includes message_thread_id for forum topic messages", async () => { - const chatId = "-1001234567890"; - const fileId = "CAACAgIAAxkBAAI...sticker_file_id"; - const sendSticker = vi.fn().mockResolvedValue({ - message_id: 101, - chat: { id: chatId }, - }); - const api = { sendSticker } as unknown as { - sendSticker: typeof sendSticker; - }; - - await sendStickerTelegram(chatId, fileId, { - token: "tok", - api, - messageThreadId: 271, - }); - - expect(sendSticker).toHaveBeenCalledWith(chatId, fileId, { - message_thread_id: 271, - }); - }); - it("retries sticker sends without message_thread_id when thread is missing", async () => { const chatId = "123"; const threadErr = new Error("400: Bad Request: message thread not found");