NAME
Net::API::Telegram::PassportElementError - An error in the Telegram Passport element which was submitted that should be resolved by the user
SYNOPSIS
my $msg = Net::API::Telegram::PassportElementError->new( %data ) ||
die( Net::API::Telegram::PassportElementError->error, "\n" );
DESCRIPTION
Net::API::Telegram::PassportElementError is a Telegram Message Object as defined here https://core.telegram.org/bots/api#passportelementerror
This module has been automatically generated from Telegram API documentation by the script scripts/telegram-doc2perl-methods.pl.
METHODS
- new( {INIT HASH REF}, %PARAMETERS )
-
new() will create a new object for the package, pass any argument it might receive to the special standard routine init that must exist. Then it returns what returns init().
The valid parameters are as follow. Methods available here are also parameters to the new method.
verbose
debug
- data_hash( String )
-
Base64-encoded data hash
- field_name( String )
-
Name of the data field which has the error
- message( String )
-
Error message
- source( String )
-
Error source, must be data
- type( String )
-
The section of the user's Telegram Passport which has the error, one of personal_details, passport, driver_license, identity_card, internal_passport, address
COPYRIGHT
Copyright (c) 2000-2019 DEGUEST Pte. Ltd.
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
COPYRIGHT & LICENSE
Copyright (c) 2018-2019 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.