| 1 | package Telegram::Bot::Object::Venue; | ||
| 2 | 5 | $Telegram::Bot::Object::Venue::VERSION = '0.024'; | |
| 3 | # ABSTRACT: The base class for Telegram 'LoginUrl' type objects | ||
| 4 | |||
| 5 | |||
| 6 | 5 | ▶ | use Mojo::Base 'Telegram::Bot::Object::Base'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 5 | ▶ | use Telegram::Bot::Object::Location; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 5 | has 'location'; #Location | |
| 10 | 5 | has 'title'; | |
| 11 | 5 | has 'address'; | |
| 12 | 5 | has 'foursquare_id'; | |
| 13 | 5 | has 'foursquare_type'; | |
| 14 | |||
| 15 | sub fields { | ||
| 16 | 0 | ▶ | return { 'scalar' => [qw/title address |
|
Subroutine
fields: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 17 | foursquare_id foursquare_type/], | ||
| 18 | 'Telegram::Bot::Object::Location' => [qw/location/] }; | ||
| 19 | |||
| 20 | } | ||
| 21 | |||
| 22 | 5 | 1; | |
| 23 | |||
| 24 | __END__ | ||