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