breaking: global `floodSleepThreshold` and `maxRetryCount` are now configured via middlewares: ```ts const tg = new TelegramClient({ network: { middlewares: networkMiddlewares.basic({ floodWaiter: { maxWait: 5000, maxRetries: 5 }, internalErrors: { maxRetries: 5 } }) } }) ``` |
||
---|---|---|
.. | ||
highlevel | ||
network | ||
storage | ||
types | ||
utils | ||
index.ts | ||
platform.ts |