phpbotgram

TelegramUnauthorizedException extends TelegramApiException
in package

Table of Contents

Properties

$detail  : string
$method  : TelegramMethod
$url  : string|null
Subclasses set this in their constructor before the message is rendered.
$label  : string

Methods

__construct()  : mixed
__toString()  : string
Lazy URL augmentation — mirrors aiogram's `DetailedAiogramError.__str__`.

Properties

Methods

__toString()

Lazy URL augmentation — mirrors aiogram's `DetailedAiogramError.__str__`.

public __toString() : string

getMessage() keeps the raw detail; stringifying the exception appends the documentation URL if the subclass set one.

Return values
string
On this page

Search results