line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Telegram::Bot::Object::PhotoSize; |
2
|
|
|
|
|
|
|
$Telegram::Bot::Object::PhotoSize::VERSION = '0.024'; |
3
|
|
|
|
|
|
|
# ABSTRACT: The base class for Telegram message 'PhotoSize' type. |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
5
|
|
|
5
|
|
33
|
use Mojo::Base 'Telegram::Bot::Object::Base'; |
|
5
|
|
|
|
|
13
|
|
|
5
|
|
|
|
|
39
|
|
7
|
5
|
|
|
5
|
|
817
|
use Carp qw/croak/; |
|
5
|
|
|
|
|
36
|
|
|
5
|
|
|
|
|
611
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has 'file_id'; |
10
|
|
|
|
|
|
|
has 'width'; |
11
|
|
|
|
|
|
|
has 'height'; |
12
|
|
|
|
|
|
|
has 'file_size'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub fields { |
15
|
8
|
|
|
8
|
0
|
35
|
return { scalar => [qw/file_id width height file_size/] |
16
|
|
|
|
|
|
|
}; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__END__ |