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