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