create()
create(string $type, string $message, string $elementHash) : \TgBotApi\BotApiBase\Type\PassportElementError\PassportElementErrorUnspecifiedType
Static
Parameters
$type
string
$message
string
$elementHash
string
Exceptions
\TgBotApi\BotApiBase\Exception\BadArgumentException |
|
Returns
\TgBotApi\BotApiBase\Type\PassportElementError\PassportElementErrorUnspecifiedType
ALLOWED_TYPES
ALLOWED_TYPES = array(self::TYPE_PERSONAL_DETAILS, self::TYPE_PASSPORT, self::TYPE_DRIVER_LICENSE, self::TYPE_IDENTITY_CARD, self::TYPE_INTERNAL_PASSPORT, self::TYPE_ADDRESS, self::TYPE_UTILITY_BILL, self::TYPE_BANK_STATEMENT, self::TYPE_RENTAL_AGREEMENT, self::TYPE_PASSPORT_REGISTRATION, self::TYPE_TEMPORARY_REGISTRATION, self::TYPE_PHONE_NUMBER, self::TYPE_EMAIL)
inherited_from |
\TgBotApi\BotApiBase\Type\PassportElementError\PassportElementErrorType::ALLOWED_TYPES |