OptionalapiCustom base API endpoint URL (e.g. http://localhost:8081 for a local Telegram Bot API server).
OptionalbaseBase delay in milliseconds used for exponential backoff during rate-limiting or server retries.
Primarily customized in test suites for fast execution.
OptionalfetchCustom fetch implementation for deterministic testing, custom agents, or proxy tunneling.
Optionalinit: RequestInitOptionalinit: RequestInitOptionalrequestPer-request abort timeout in milliseconds. If a request (e.g. a hung connection) takes longer than this, it is aborted and treated as a retryable network error.
OptionalretryConfigurable auto-retry and flood control options.
Options for initializing a BaseBotClient or Bot.