danog\MadelineProto\RPCError\RateLimitError
Author: Daniil Gentili daniil@daniil.it
Represents a rate limiting RPC error returned by telegram.
Properties
$expires
:positive-int
Indicates the absolute expiration time of the flood wait.$waitTime
:positive-int
$rpc
:string
RPC error.$description
:string
Human-readable description of RPC error.$tlTrace
:string
TL trace.
Method list:
getWaitTime(): positive-int
getWaitTimeLeft(): int<0, max>
wait(?\Amp\Cancellation $cancellation = NULL): void
getLocalization(): string
getMessage(): string
getCode()
getFile(): string
getLine(): int
getTrace(): array
getPrevious(): ?Throwable
getTraceAsString(): string
getTLTrace(): string
Methods:
getWaitTime(): positive-int
Returns the required waiting period in seconds before repeating the RPC call.
See also:
positive-int
getWaitTimeLeft(): int<0, max>
Returns the remaining waiting period in seconds before repeating the RPC call.
See also:
max
wait(?\Amp\Cancellation $cancellation = NULL): void
Waits for the remaining waiting period.
Parameters:
$cancellation
:?\Amp\Cancellation
See also:
\Amp\Cancellation
getLocalization(): string
Get localized error name.
getMessage(): string
getCode()
getFile(): string
getLine(): int
getTrace(): array
getPrevious(): ?Throwable
See also:
Throwable
getTraceAsString(): string
getTLTrace(): string
Get TL trace.
Generated by danog/phpdoc