| 1 | package Telegram::Bot::Object::EncryptedPassportElement; | ||
| 2 | 5 | $Telegram::Bot::Object::EncryptedPassportElement::VERSION = '0.029'; | |
| 3 | # ABSTRACT: The base class for Telegram 'EncryptedPassportElement' type objects | ||
| 4 | |||
| 5 | |||
| 6 | 5 | ▶ | use Mojo::Base 'Telegram::Bot::Object::Base'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | # XXX Implement rest of this | ||
| 9 | # https://core.telegram.org/bots/api#encryptedpassportelement | ||
| 10 | |||
| 11 | 5 | has 'type'; | |
| 12 | 5 | has 'data'; | |
| 13 | 5 | has 'phone_number'; | |
| 14 | 5 | has 'email'; | |
| 15 | |||
| 16 | # XXX more here | ||
| 17 | |||
| 18 | 0 | ▶ | sub fields { |
|
Subroutine
fields: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 19 | 0 | return { 'scalar' => [qw/type data phone_number email/] }; | |
| 20 | } | ||
| 21 | |||
| 22 | 5 | 1; | |
| 23 | |||
| 24 | __END__ | ||