NAME

Net::API::Telegram::PassportElementErrorDataField - An issue in one of the data fields that was provided by the user

SYNOPSIS

my $msg = Net::API::Telegram::PassportElementErrorDataField->new( %data ) || 
die( Net::API::Telegram::PassportElementErrorDataField->error, "\n" );

DESCRIPTION

Net::API::Telegram::PassportElementErrorDataField is a Telegram Message Object as defined here https://core.telegram.org/bots/api#passportelementerrordatafield

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

Net::API::Telegram

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.