| 1 | package Telegram::Bot::Object::Location; | ||
| 2 | 6 | $Telegram::Bot::Object::Location::VERSION = '0.029'; | |
| 3 | # ABSTRACT: The base class for Telegram message 'Location' type. | ||
| 4 | |||
| 5 | |||
| 6 | 6 | ▶ | use Mojo::Base 'Telegram::Bot::Object::Base'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 6 | has 'longitude'; | |
| 9 | 6 | has 'latitude'; | |
| 10 | |||
| 11 | 4 | ▶ | sub fields { |
|
Subroutine
fields: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 12 | 4 | return { scalar => [qw/longitude latitude/], | |
| 13 | }; | ||
| 14 | } | ||
| 15 | |||
| 16 | 6 | 1; | |
| 17 | |||
| 18 | __END__ | ||