Class PassportElementErrorType.

see
package Default

 Methods

createBase()

createBase(string $source, string $type, string $message) : mixed
Static

Parameters

$source

string

$type

string

$message

string

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

Returns

mixed

 Properties

 

Error message.

$message : string

Default

 

Error source, must be unspecified.

$source : string

Default

 

Type of element of the user's Telegram Passport which has the issue.

$type : string

Default

 Constants

 

ALLOWED_TYPES

ALLOWED_TYPES = array()