line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Telegram::Bot::Object::Game; |
2
|
|
|
|
|
|
|
$Telegram::Bot::Object::Game::VERSION = '0.021'; |
3
|
|
|
|
|
|
|
# ABSTRACT: The base class for Telegram message 'Game' type. |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
5
|
|
|
5
|
|
30
|
use Mojo::Base 'Telegram::Bot::Object::Base'; |
|
5
|
|
|
|
|
22
|
|
|
5
|
|
|
|
|
35
|
|
7
|
5
|
|
|
5
|
|
698
|
use Telegram::Bot::Object::PhotoSize; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
25
|
|
8
|
5
|
|
|
5
|
|
195
|
use Telegram::Bot::Object::Animation; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
22
|
|
9
|
5
|
|
|
5
|
|
145
|
use Telegram::Bot::Object::MessageEntity; |
|
5
|
|
|
|
|
7
|
|
|
5
|
|
|
|
|
25
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
has 'title'; |
12
|
|
|
|
|
|
|
has 'description'; |
13
|
|
|
|
|
|
|
has 'photo'; # Array of PhotoSize |
14
|
|
|
|
|
|
|
has 'text'; |
15
|
|
|
|
|
|
|
has 'text_entities'; #Array of MessageEntity |
16
|
|
|
|
|
|
|
has 'animation'; #Animation |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub fields { |
19
|
0
|
|
|
0
|
0
|
|
return { scalar => [qw/title description text/], |
20
|
|
|
|
|
|
|
'Telegram::Bot::Object::PhotoSize' => [qw/photo/], |
21
|
|
|
|
|
|
|
'Telegram::Bot::Object::MessageEntity' => [qw/text_entities/], |
22
|
|
|
|
|
|
|
'Telegram::Bot::Object::Animation' => [qw/animation/], |
23
|
|
|
|
|
|
|
}; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
0
|
|
|
0
|
1
|
|
sub arrays { qw/photo text_entities/ } |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |