line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Telegram::Bot::Object::MessageEntity; |
2
|
|
|
|
|
|
|
$Telegram::Bot::Object::MessageEntity::VERSION = '0.021'; |
3
|
|
|
|
|
|
|
# ABSTRACT: The base class for Telegram 'MessageEntity' type objects |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
5
|
|
|
5
|
|
33
|
use Mojo::Base 'Telegram::Bot::Object::Base'; |
|
5
|
|
|
|
|
7
|
|
|
5
|
|
|
|
|
32
|
|
7
|
5
|
|
|
5
|
|
653
|
use Telegram::Bot::Object::User; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
26
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has 'type'; |
10
|
|
|
|
|
|
|
has 'offset'; |
11
|
|
|
|
|
|
|
has 'length'; |
12
|
|
|
|
|
|
|
has 'url'; |
13
|
|
|
|
|
|
|
has 'user'; #User |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub fields { |
16
|
|
|
|
|
|
|
return { |
17
|
0
|
|
|
0
|
0
|
|
'scalar' => [qw/type offset length url/], |
18
|
|
|
|
|
|
|
'Telegram::Bot::Object::User' => [qw/user/], |
19
|
|
|
|
|
|
|
}; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |