danog\MadelineProto\RPCError\FloodPremiumWaitError
Author: Daniil Gentili daniil@daniil.it
Represents a FLOOD_PREMIUMWAIT RPC error returned by telegram.
Properties
$expires:positive-intIndicates the absolute expiration time of the flood wait.$waitTime:positive-int$rpc:stringRPC error.$description:stringHuman-readable description of RPC error.$tlTrace:stringTL trace.
Method list:
getWaitTime(): positive-intgetWaitTimeLeft(): int<0, max>wait(?\Amp\Cancellation $cancellation = NULL): voidgetLocalization(): stringgetMessage(): stringgetCode()getFile(): stringgetLine(): intgetTrace(): arraygetPrevious(): ?ThrowablegetTraceAsString(): stringgetTLTrace(): 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