OptionalmaxOptionalmaxMaximum number of ms to wait when a FLOOD_WAIT_X error is encountered. If the wait time is greater than this value, the request will throw an error instead
This can be overwritten on a per-request basis by setting
floodSleepThreshold in the request parameters
OptionalminIf the stored wait time is less than this value, the request will not be delayed
OptionalonFunction that will be called before we are about to wait for seconds
seconds before retrying the request.
OptionalstoreWhether to store the last flood wait time and delay the consecutive requests accordingly
Maximum number of retries to perform when a FLOOD_WAIT_X error is encountered. After this number of retries, the last error will be thrown