line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Telegram::Bot::Object::EncryptedPassportElement; |
2
|
|
|
|
|
|
|
$Telegram::Bot::Object::EncryptedPassportElement::VERSION = '0.021'; |
3
|
|
|
|
|
|
|
# ABSTRACT: The base class for Telegram 'EncryptedPassportElement' type objects |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
5
|
|
|
5
|
|
32
|
use Mojo::Base 'Telegram::Bot::Object::Base'; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
31
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# XXX Implement rest of this |
9
|
|
|
|
|
|
|
# https://core.telegram.org/bots/api#encryptedpassportelement |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
has 'type'; |
12
|
|
|
|
|
|
|
has 'data'; |
13
|
|
|
|
|
|
|
has 'phone_number'; |
14
|
|
|
|
|
|
|
has 'email'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# XXX more here |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub fields { |
19
|
0
|
|
|
0
|
0
|
|
return { 'scalar' => [qw/type data phone_number email/] }; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |