line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Telegram::Bot::Object::Venue; |
2
|
|
|
|
|
|
|
$Telegram::Bot::Object::Venue::VERSION = '0.021'; |
3
|
|
|
|
|
|
|
# ABSTRACT: The base class for Telegram 'LoginUrl' type objects |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
5
|
|
|
5
|
|
30
|
use Mojo::Base 'Telegram::Bot::Object::Base'; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
29
|
|
7
|
5
|
|
|
5
|
|
643
|
use Telegram::Bot::Object::Location; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
24
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has 'location'; #Location |
10
|
|
|
|
|
|
|
has 'title'; |
11
|
|
|
|
|
|
|
has 'address'; |
12
|
|
|
|
|
|
|
has 'foursquare_id'; |
13
|
|
|
|
|
|
|
has 'foursquare_type'; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub fields { |
16
|
0
|
|
|
0
|
0
|
|
return { 'scalar' => [qw/title address |
17
|
|
|
|
|
|
|
foursquare_id foursquare_type/], |
18
|
|
|
|
|
|
|
'Telegram::Bot::Object::Location' => [qw/location/] }; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |