Link Search Menu Expand Document

danog\MadelineProto\CallNotAllowedException

Back to index

Author: Daniil Gentili daniil@daniil.it

Thrown when a call or group call cannot be started in a chat, because of our own permissions,

the other party’s privacy settings, or the kind of chat/account involved.

Use canRequestCall() on a message to check in advance whether a call can be started.

Properties

  • $reason: danog\MadelineProto\EventHandler\Calls\CallDenialReason Why the call cannot be started.
  • $tlTrace: string TL trace.

Method list:

Methods:

extension(string $extensionName): \danog\MadelineProto\Exception

Complain about missing extensions.

Parameters:

  • $extensionName: string Extension name

getTLTrace(): string

Get TL trace.

getMessage(): string

getCode()

getFile(): string

getLine(): int

getTrace(): array

getPrevious(): ?Throwable

See also:

  • Throwable

getTraceAsString(): string


Generated by danog/phpdoc