line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Telegram::Bot::Object::VideoNote; |
2
|
|
|
|
|
|
|
$Telegram::Bot::Object::VideoNote::VERSION = '0.023'; |
3
|
|
|
|
|
|
|
# ABSTRACT: The base class for Telegram 'VideoNote' type objects |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
5
|
|
|
5
|
|
35
|
use Mojo::Base 'Telegram::Bot::Object::Base'; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
28
|
|
7
|
5
|
|
|
5
|
|
761
|
use Telegram::Bot::Object::PhotoSize; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
43
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has 'file_id'; |
10
|
|
|
|
|
|
|
has 'length'; |
11
|
|
|
|
|
|
|
has 'duration'; |
12
|
|
|
|
|
|
|
has 'mime_type'; |
13
|
|
|
|
|
|
|
has 'thumb'; #PhotoSize |
14
|
|
|
|
|
|
|
has 'file_size'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub fields { |
17
|
0
|
|
|
0
|
0
|
|
return { scalar => [qw/file_id length duration mime_type file_size/], |
18
|
|
|
|
|
|
|
'Telegram::Bot::Object::PhotoSize' => [qw/thumb /], |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
}; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |