fix(telegram): honor timeoutSeconds (thanks @Snaver) (#863)

This commit is contained in:
Peter Steinberger committed 2026-01-14 10:10:05 +00:00
1 parent 802c02eb74
commit 9930ba91c5
10 files changed
+122 -50

No files matched your search

+2
View File
@@ -63,6 +63,8 @@ export type TelegramAccountConfig = {
/** Draft streaming mode for Telegram (off|partial|block). Default: partial. */
streamMode?: "off" | "partial" | "block";
mediaMaxMb?: number;
/** Telegram API client timeout in seconds (grammY ApiClientOptions). */
timeoutSeconds?: number;
/** Retry policy for outbound Telegram API calls. */
retry?: OutboundRetryConfig;
proxy?: string;