danog\MadelineProto\RPCError\UsernameNotOccupiedError
Author: Daniil Gentili daniil@daniil.it
The provided username is not occupied.
Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise.
Always check the changelog when upgrading, and use tools like Psalm to easily upgrade your code.
Properties
$rpc:stringRPC error.$description:stringHuman-readable description of RPC error.$tlTrace:stringTL trace.
Method list:
getLocalization(): stringgetMessage(): stringgetCode()getFile(): stringgetLine(): intgetTrace(): arraygetPrevious(): ?ThrowablegetTraceAsString(): stringgetTLTrace(): string
Methods:
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